xfs
[Top] [All Lists]

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

To: xfs@xxxxxxxxxxx
Subject: [PATCH] xfstests: fix TEST_MNT typos (should be TEST_DIR)
From: Brian Foster <bfoster@xxxxxxxxxx>
Date: Mon, 17 Sep 2012 11:15:35 -0400
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@xxxxxxxxxx>
---
 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

<Prev in Thread] Current Thread [Next in Thread>