diff --git a/test/blobfs/blobfs.sh b/test/blobfs/blobfs.sh index e330ddac3..29c4cc433 100755 --- a/test/blobfs/blobfs.sh +++ b/test/blobfs/blobfs.sh @@ -8,6 +8,8 @@ fi testdir=$(readlink -f $(dirname $0)) rootdir=$(readlink -f $testdir/../..) +source $rootdir/test/common/autotest_common.sh + rpc_server=/var/tmp/spdk-blobfs.sock rpc_py="$rootdir/scripts/rpc.py -s $rpc_server" tmp_file=$SPDK_TEST_STORAGE/blobfs_file @@ -16,8 +18,6 @@ bdevname=BlobfsBdev mount_dir=/tmp/spdk_tmp_mount test_cache_size=512 -source $rootdir/test/common/autotest_common.sh - function cleanup() { if [[ -n $blobfs_pid && -e /proc/$blobfs_pid ]]; then killprocess $blobfs_pid