2017-08-03 15:43:05 -07:00
|
|
|
#!/usr/bin/env bash
|
2017-04-04 16:09:31 -07:00
|
|
|
# Create a tmp directory for the test to use
|
|
|
|
TEST_DIR=$(mktemp -d /dev/shm/fbcode_rocksdb_XXXXXXX)
|
2018-01-29 12:43:56 -08:00
|
|
|
# shellcheck disable=SC2068
|
2017-04-04 16:09:31 -07:00
|
|
|
TEST_TMPDIR="$TEST_DIR" $@ && rm -rf "$TEST_DIR"
|