[PATCH 06/12] 117: use TEST_DIR instead of a SCRATCH_DEV

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The test does not require a fresh file system.

Signed-off-by: Christoph Hellwig <hch@xxxxxx>
---
 tests/generic/117     |   24 +++++-------------------
 tests/generic/117.out |    2 --
 2 files changed, 5 insertions(+), 21 deletions(-)

diff --git a/tests/generic/117 b/tests/generic/117
index f81265b..504dd88 100755
--- a/tests/generic/117
+++ b/tests/generic/117
@@ -78,38 +78,24 @@ _cleanup()
 _supported_fs generic
 _supported_os IRIX Linux
 
-_require_scratch
 _require_attrs
 
 rm -f $seqres.full
-umount $SCRATCH_DEV >/dev/null 2>&1
-echo "*** MKFS ***"                         >>$seqres.full
-echo ""                                     >>$seqres.full
-_scratch_mkfs                               >>$seqres.full 2>&1 \
-    || _fail "mkfs failed"
-_scratch_mount                              >>$seqres.full 2>&1 \
-    || _fail "mount failed"
 
-mkdir -p $SCRATCH_MNT/fsstress
+testdir=$TEST_DIR/fsstress.$seq
+rm -rf $testdir
+mkdir -p $testdir
 
 echo
 echo Running fsstress in serial:
 i=0
 while [ $i -lt $ITERATIONS ]; do
     echo fsstress iteration: $i | tee -a $seqres.full
-    $FSSTRESS_PROG \
-	-d $SCRATCH_MNT/fsstress \
+    $FSSTRESS_PROG -d $testdir \
 	$fss_ops -S c >>$seqres.full 2>&1
 
     let i=$i+1
 done
 
-cd /
-umount $SCRATCH_MNT
-echo 
-echo Checking filesystem
-_check_scratch_fs
-_scratch_mount
-
-status=$?
+status=0
 exit
diff --git a/tests/generic/117.out b/tests/generic/117.out
index 1306ebc..e295515 100644
--- a/tests/generic/117.out
+++ b/tests/generic/117.out
@@ -11,5 +11,3 @@ fsstress iteration: 6
 fsstress iteration: 7
 fsstress iteration: 8
 fsstress iteration: 9
-
-Checking filesystem
-- 
1.7.10.4


_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs




[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux