sapling/eden/fs/utils
Adam Simpkins 0824d0280c update all C++ unit tests to use the new temporary file functions
Summary:
Update all of the C++ unit tests that create temporary files and directories
to use the new `facebook::eden::makeTempFile()` and
`facebook::eden::makeTempDir()` functions.

Note that this likely changes the behavior of some code paths in meaningful
ways: `/dev/shm` normally does not support `getxattr()`, and Eden's overlay
code attempts to store the SHA-1 for materialized files as using extended
attributes.  This means that the tests will now typically hit the fallback
code path and will not store SHA-1 data in the overlay.

Reviewed By: chadaustin, strager

Differential Revision: D12971162

fbshipit-source-id: 6cc5eba2e04be7e9a13a30e90883feadfb78f9ce
2018-11-09 14:29:17 -08:00
..
test update all C++ unit tests to use the new temporary file functions 2018-11-09 14:29:17 -08:00
BucketedLog.h Add a BucketedLog for recording pid accesses by second 2018-09-05 15:06:57 -07:00
Bug.cpp add EdenBug::throwException 2018-05-01 16:52:06 -07:00
Bug.h add EdenBug::throwException 2018-05-01 16:52:06 -07:00
Clock.cpp Started Eden for Windows and integrated hg store with it. 2018-08-21 17:53:38 -07:00
Clock.h make Clock::getRealtime() const 2018-02-01 11:19:15 -08:00
CMakeLists.txt add CMake build files 2018-04-30 14:37:46 -07:00
DirType.h run clang-format across all C++ files 2017-11-03 16:02:03 -07:00
FutureUnixSocket.cpp add attachEventBase()/detachEventBase() to UnixSocket 2018-05-23 11:51:59 -07:00
FutureUnixSocket.h add attachEventBase()/detachEventBase() to UnixSocket 2018-05-23 11:51:59 -07:00
HgCommand.cpp Future<T>::then 1/n: Future<T>::then(try-task) -> Future<T>::thenTry(task). 2018-07-23 18:51:38 -07:00
HgCommand.h Removed all folly::fbstring uses from eden. 2018-01-03 16:41:34 -08:00
IDGen.cpp Add lightweight tracing infrastructure 2018-11-01 08:09:19 -07:00
IDGen.h add a cheap unique ID generator 2018-10-23 10:42:45 -07:00
IoFuture.cpp throw all errno exceptions as std::generic_category 2018-03-20 13:38:45 -07:00
IoFuture.h add a new IoFuture helper class 2017-10-10 15:51:15 -07:00
LeaseCache.h convert some deprecated Future::then() calls 2018-10-23 13:42:12 -07:00
MappedDiskVector.h Enabled additional compiler warnings in Eden. 2018-06-01 11:39:01 -07:00
PathFuncs.cpp add pathFuncs expandUser() for tilde expansion 2018-11-09 11:24:37 -08:00
PathFuncs.h add pathFuncs expandUser() for tilde expansion 2018-11-09 11:24:37 -08:00
PathMap.h remove Allocator template parameter from PathMap 2018-06-01 12:23:31 -07:00
ProcessAccessLog.cpp introduce a ProcessAccessLog 2018-09-05 15:06:58 -07:00
ProcessAccessLog.h introduce a ProcessAccessLog 2018-09-05 15:06:58 -07:00
ProcessNameCache.cpp folly::Optional -> std::optional 2018-10-23 17:05:11 -07:00
ProcessNameCache.h add a ProcessNameCache 2018-09-05 15:06:57 -07:00
ProcUtil.cpp folly::Optional -> std::optional 2018-10-23 17:05:11 -07:00
ProcUtil.h folly::Optional -> std::optional 2018-10-23 17:05:11 -07:00
SortedInsert.h Fixing merge screw-up caught by Adam TYVM 2018-01-04 14:35:26 -08:00
SSLContext.cpp folly::Optional -> std::optional 2018-10-23 17:05:11 -07:00
SSLContext.h folly::Optional -> std::optional 2018-10-23 17:05:11 -07:00
Synchronized.h folly::Optional -> std::optional 2018-10-23 17:05:11 -07:00
SystemError.h check for std::generic_category when looking for errno errors 2018-03-20 13:38:45 -07:00
TimeUtil.cpp run clang-format across all C++ files 2017-11-03 16:02:03 -07:00
TimeUtil.h run clang-format across all C++ files 2017-11-03 16:02:03 -07:00
UnboundedQueueExecutor.cpp Use a deterministic executor in TestMount 2018-08-21 12:23:00 -07:00
UnboundedQueueExecutor.h Use a deterministic executor in TestMount 2018-08-21 12:23:00 -07:00
UnixSocket.cpp Enabled additional compiler warnings in Eden. 2018-06-01 11:39:01 -07:00
UnixSocket.h add attachEventBase()/detachEventBase() to UnixSocket 2018-05-23 11:51:59 -07:00
XAttr.cpp add fsattr utility for testing purposes 2018-01-30 21:50:39 -08:00
XAttr.h add fsattr utility for testing purposes 2018-01-30 21:50:39 -08:00