sapling/eden/fs
Adam Simpkins 2adb4a36b1 add new helper functions for creating temporary files/dirs in tests
Summary:
Add new helper files for creating temporary files and directories.

The main advantage of these functions is that they prefer creating files in
`/dev/shm` by default instead of `/tmp`.  Some of the eden unit tests are
fairly I/O intensive (particularly the checkout tests, which create and
destroy many test mounts).  This can be quite slow on hosts where `/tmp` is a
a spinning hard disk.  Putting the temporary files in a ramdisk greatly speeds
up the tests in this case.

These test functions also default to using the prefix `eden_test.` for the
temporary file names.

This does not yet change any of the test code to use these functions.  I will
do that in a subsequent diff.

Reviewed By: chadaustin, strager

Differential Revision: D12971161

fbshipit-source-id: 3f74be7a467e8080185d4d97d114288b4528755a
2018-11-09 14:29:17 -08:00
..
config add pathFuncs expandUser() for tilde expansion 2018-11-09 11:24:37 -08:00
fuse Add command to chown a mount 2018-11-07 08:58:31 -08:00
inodes fixup root cause of ESTALE 2018-11-07 15:20:58 -08:00
journal explicitly complete StreamPublisher stream on destruct 2018-10-01 13:21:59 -07:00
model add optional size and contentSha1 fields to TreeEntry 2018-10-31 11:50:39 -07:00
rocksdb add CMake build files 2018-04-30 14:37:46 -07:00
service pass ReloadableConfig through to LocalStore 2018-11-09 11:22:03 -08:00
sqlite avoid leaking the sqlite3 db if we fail to open it 2018-06-20 16:36:22 -07:00
store add pathFuncs expandUser() for tilde expansion 2018-11-09 11:24:37 -08:00
takeover folly::Optional -> std::optional 2018-10-23 18:51:59 -07:00
testharness add new helper functions for creating temporary files/dirs in tests 2018-11-09 14:29:17 -08:00
tracing Add lightweight tracing infrastructure 2018-11-01 08:09:19 -07:00
utils add pathFuncs expandUser() for tilde expansion 2018-11-09 11:24:37 -08:00
CMakeLists.txt add CMake build files 2018-04-30 14:37:46 -07:00