Skip to contentSkip to conversation

xfstests: fix TEST_MNT typos (should be TEST_DIR)

PATCH In review Brian Foster 3 participants 3 messages Sep 17, 2012 – Sep 21, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xfstests: fix TEST_MNT typos (should be TEST_DIR)

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

---
 222 |    2 +-
 253 |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
222 +1 -1
index a65c845..df2672f 100755
@@ -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
253 +1 -1
index d8c94a2..4d0b4c2 100755
@@ -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
Signature · 6 lines
1.7.7.6

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
#2 lore raw
Quoted 10 lines · Mark Tinguely
Quoted 5 lines · Brian Foster

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

---

Good catch.

committed to git://oss.sgi.com/xfs/cmds/xfstests.git, master branch.

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs