sapling/eden/fs/utils/test
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-data Support reporting of additional statistics 2018-06-20 09:06:16 -07:00
BenchmarkMain.cpp introduce a ProcessAccessLog 2018-09-05 15:06:58 -07:00
BucketedLogTest.cpp Add a BucketedLog for recording pid accesses by second 2018-09-05 15:06:57 -07:00
BugTest.cpp remove eden/fs/utils/test/TestChecks.h 2017-11-15 12:53:55 -08:00
IDGenBenchmark.cpp add a benchmark for generateUniqueID 2018-11-07 15:45:50 -08:00
IDGenTest.cpp add a cheap unique ID generator 2018-10-23 10:42:45 -07:00
IoFutureTest.cpp use rvalue-qual Future::get(): pass 5 2018-07-02 07:05:52 -07:00
MappedDiskVectorTest.cpp add support for migrating MappedDiskVector record formats 2018-05-09 16:50:52 -07:00
PathFuncsTest.cpp update all C++ unit tests to use the new temporary file functions 2018-11-09 14:29:17 -08:00
PathMapTest.cpp add convenient operator literals for the various path piece types 2018-05-11 14:52:07 -07:00
ProcessAccessLogBenchmark.cpp introduce a ProcessAccessLog 2018-09-05 15:06:58 -07:00
ProcessNameCacheBenchmark.cpp introduce a ProcessAccessLog 2018-09-05 15:06:58 -07:00
ProcessNameCacheTest.cpp add a ProcessNameCache 2018-09-05 15:06:57 -07:00
ProcUtilTest.cpp folly::Optional -> std::optional 2018-10-23 17:05:11 -07:00
ScopedEnvVar.cpp run clang-format across all C++ files 2017-11-03 16:02:03 -07:00
ScopedEnvVar.h folly::Optional -> std::optional 2018-10-23 18:51:59 -07:00
UnixSocketTest.cpp update all C++ unit tests to use the new temporary file functions 2018-11-09 14:29:17 -08:00