test/rocksdb: use mkdir -p for results directory
This makes the test script easier to use outside of the test pool, since it will just reuse the rocksdb results directory rather than failing because the directory already exists. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I754489c3321323bce8c8a5c352d4947d6270d489 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/452260 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Ziye Yang <ziye.yang@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
This commit is contained in:
parent
dd1c38cc68
commit
1b3f6d5dcb
@ -54,7 +54,7 @@ timing_enter mkfs
|
||||
$rootdir/test/blobfs/mkfs/mkfs $ROCKSDB_CONF Nvme0n1
|
||||
timing_exit mkfs
|
||||
|
||||
mkdir $output_dir/rocksdb
|
||||
mkdir -p $output_dir/rocksdb
|
||||
RESULTS_DIR=$output_dir/rocksdb
|
||||
if [ $RUN_NIGHTLY -eq 1 ]; then
|
||||
CACHE_SIZE=4096
|
||||
|
Loading…
Reference in New Issue
Block a user