xfs
[Top] [All Lists]

[PATCH 1/2] xfstests 224: Use $SCRATCH_MNT variable

To: xfs@xxxxxxxxxxx
Subject: [PATCH 1/2] xfstests 224: Use $SCRATCH_MNT variable
From: Lukas Czerner <lczerner@xxxxxxxxxx>
Date: Wed, 29 Sep 2010 16:35:50 +0200
Cc: esandeen@xxxxxxxxxx, lczerner@xxxxxxxxxx
Use $SCRATCH_MNT variable instead of hard-coded path (/mnt/scratch) in
test 224.
---
 224 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/224 b/224
index 21be9af..00ebd2e 100644
--- 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
-- 
1.7.2.3

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