xfstests: fix to build src/realpath and the correct the existence of target devices
[xfstests-dev.git] / common.config
index 585b15050b59560ebaae9b2e2a06f1cf79bf3f36..3240ee9249b9fbdf0d676ecf68d513bcfc63610c 100644 (file)
@@ -221,11 +221,11 @@ else
 fi
 
 # Scripts just don't deal well with symlinked devices
-if [ -L $TEST_DEV ]; then
+if [ -L "$TEST_DEV" ]; then
         TEST_DEV=`src/realpath $TEST_DEV`
 fi
 
-if [ -L $SCRATCH_DEV ]; then
+if [ -L "$SCRATCH_DEV" ]; then
         SCRATCH_DEV=`src/realpath $SCRATCH_DEV`
 fi