diff --git a/test/bdev/blockdev.sh b/test/bdev/blockdev.sh index 0c0fe4d38..9d26f9f7b 100755 --- a/test/bdev/blockdev.sh +++ b/test/bdev/blockdev.sh @@ -15,7 +15,9 @@ function cleanup() { rm -f "/tmp/spdk-pmem-pool" rm -f "$conf_file" - rbd_cleanup + if [[ $test_type == rbd ]]; then + rbd_cleanup + fi } function start_spdk_tgt() {