From 1b3f6d5dcbd5d70f86d6c7467f831eec934b0f22 Mon Sep 17 00:00:00 2001 From: Jim Harris Date: Fri, 26 Apr 2019 01:59:48 -0700 Subject: [PATCH] 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 Change-Id: I754489c3321323bce8c8a5c352d4947d6270d489 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/452260 Tested-by: SPDK CI Jenkins Reviewed-by: Ben Walker Reviewed-by: Changpeng Liu Reviewed-by: Ziye Yang Reviewed-by: Darek Stojaczyk --- test/blobfs/rocksdb/rocksdb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/blobfs/rocksdb/rocksdb.sh b/test/blobfs/rocksdb/rocksdb.sh index 4d3ea3afc..b5b9af8ce 100755 --- a/test/blobfs/rocksdb/rocksdb.sh +++ b/test/blobfs/rocksdb/rocksdb.sh @@ -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