summaryrefslogtreecommitdiffstats
path: root/src/rocksdb/buckifier/rocks_test_runner.sh
blob: 77f8f23c56b4878cde0dcbbbc809044a61895cf7 (plain)
1
2
3
4
5
6
#!/usr/bin/env bash
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
# Create a tmp directory for the test to use
TEST_DIR=$(mktemp -d /dev/shm/fbcode_rocksdb_XXXXXXX)
# shellcheck disable=SC2068
TEST_TMPDIR="$TEST_DIR" $@ && rm -rf "$TEST_DIR"