]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
xfstests 224: Use $SCRATCH_MNT variable
authorLukas Czerner <lczerner@redhat.com>
Wed, 29 Sep 2010 16:21:21 +0000 (11:21 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Wed, 29 Sep 2010 16:21:21 +0000 (11:21 -0500)
Use $SCRATCH_MNT variable instead of hard-coded path (/mnt/scratch) in
test 224.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
224

diff --git a/224 b/224
index 21be9af47f539b99413f6ac8d2e8a7d358b83839..00ebd2e4064c18cafcc52d948446d51e85efc2fe 100644 (file)
--- a/224
+++ b/224
@@ -60,7 +60,7 @@ _scratch_mount >> $seq.full 2>&1
 
 # set the reserved block pool to almost empty for XFS
 if [ "$FSTYP" = "xfs" ]; then
-       xfs_io -x -c "resblks 4" /mnt/scratch/ >> $seq.full 2>&1
+       xfs_io -x -c "resblks 4" $SCRATCH_MNT >> $seq.full 2>&1
 fi
 
 FILES=1000