sapling/eden/fs/inodes/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
..
CheckoutTest.cpp split CheckoutTest.modifyFile into three 2018-10-26 22:04:21 -07:00
DiffTest.cpp replace getBlobMetadata with a more specific getSha1 2018-10-08 15:11:55 -07:00
EdenDispatcherTest.cpp to satisfy secfs validation suite, limit path components to 255 bytes 2018-05-30 23:11:28 -07:00
EdenMountTest.cpp Add command to chown a mount 2018-11-07 08:58:31 -08:00
FileInodeTest.cpp Add command to chown a mount 2018-11-07 08:58:31 -08:00
FuseTest.cpp Future<T>::then Future<T>::then(not-try-task) -> Future<T>::thenValue(task). 2018-08-22 12:07:41 -07:00
InodeBaseTest.cpp run clang-format across all C++ files 2017-11-03 16:02:03 -07:00
InodeLoaderTest.cpp add InodeLoader to improve getFileInformation perf 2018-07-12 11:53:54 -07:00
InodeMapTest.cpp use rvalue-qual Future::get(): pass 5 2018-07-02 07:05:52 -07:00
InodePtrTest.cpp Enabled additional compiler warnings in Eden. 2018-06-01 11:39:01 -07:00
InodeTableTest.cpp relax InodeTable locking 2018-05-18 15:21:16 -07:00
InodeTimestampsTest.cpp introduce an EdenTimestamp type 2018-02-15 16:31:42 -08:00
JournalUpdateTest.cpp restructure JournalDelta and fix Watchman subscription race 2018-08-15 14:52:06 -07:00
main.cpp update folly::Init to call folly::initLogging() 2018-05-15 12:38:01 -07:00
make_gold_master_overlay.cpp Fix Eden build 2018-06-14 12:12:57 -07:00
OverlayBenchmark.cpp Fix Eden build 2018-06-14 12:12:57 -07:00
OverlayTest.cpp update all C++ unit tests to use the new temporary file functions 2018-11-09 14:29:17 -08:00
RemoveTest.cpp move write from EdenFileHandle to FileInode 2018-10-08 15:11:55 -07:00
RenameTest.cpp use rvalue-qual Future::get(): pass 5 2018-07-02 07:05:52 -07:00
SymlinkTest.cpp Added type identification capability to InodeBase. 2017-12-14 16:41:39 -08:00
TreeInodeTest.cpp Don't derive TreeInodeState from DirContents 2018-06-13 11:53:33 -07:00
UnloadTest.cpp fixup root cause of ESTALE 2018-11-07 15:20:58 -08:00