mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 23:38:50 +03:00
2adb4a36b1
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 |
||
---|---|---|
.. | ||
config | ||
fuse | ||
inodes | ||
journal | ||
model | ||
rocksdb | ||
service | ||
sqlite | ||
store | ||
takeover | ||
testharness | ||
tracing | ||
utils | ||
CMakeLists.txt |