[PATCH] xfstests: fix TEST_MNT typos (should be TEST_DIR)

Brian Foster bfoster at redhat.com
Mon Sep 17 10:15:35 CDT 2012


We mistakenly use TEST_MNT in tests 222 and 253, which is undefined.
Replace these two instances with TEST_DIR.

Signed-off-by: Brian Foster <bfoster at redhat.com>
---
 222 |    2 +-
 253 |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/222 b/222
index a65c845..df2672f 100755
--- a/222
+++ b/222
@@ -51,7 +51,7 @@ _supported_os Linux
 
 [ "$XFS_FSR_PROG" = "" ] && _notrun "xfs_fsr not found"
 
-xfs_fsr -d -v $TEST_MNT > $seq.full 2>&1
+xfs_fsr -d -v $TEST_DIR > $seq.full 2>&1
 
 echo "--- silence is golden ---"
 status=0 ; exit
diff --git a/253 b/253
index d8c94a2..4d0b4c2 100755
--- a/253
+++ b/253
@@ -59,7 +59,7 @@ _require_scratch
 # real QA test starts here
 
 OUTPUT_DIR="${SCRATCH_MNT}/test_${seq}"
-METADUMP_FILE="${TEST_MNT}/${seq}_metadump"
+METADUMP_FILE="${TEST_DIR}/${seq}_metadump"
 ORPHANAGE="lost+found"
 
 _supported_fs xfs
-- 
1.7.7.6



More information about the xfs mailing list