[PATCH 03/12] 079: 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/079 |   10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/tests/generic/079 b/tests/generic/079
index a533484..044447a 100755
--- a/tests/generic/079
+++ b/tests/generic/079
@@ -36,8 +36,7 @@ _cleanup()
 {
     cd /
     echo "*** cleaning up"
-    $timmutable -r $SCRATCH_MNT/$seq
-    umount $SCRATCH_MNT
+    $timmutable -r $TEST_DIR/$seq
 }
 
 # get standard environment, filters and checks
@@ -49,16 +48,11 @@ _supported_fs generic
 _supported_os Linux
 
 _require_attrs
-_require_scratch
 
 [ -x $timmutable ] || _notrun "t_immutable was not built for this platform"
 
-# real QA test starts here
-_scratch_mkfs >/dev/null 2>&1 || _fail "mkfs failed"
-_scratch_mount || _fail "mount failed"
-
 echo "*** starting up"
-$timmutable -c $SCRATCH_MNT/$seq >$tmp.out 2>&1
+$timmutable -c $TEST_DIR/$seq >$tmp.out 2>&1
 if grep -q 'Operation not supported' $tmp.out; then
     rm -f $tmp.out
     _notrun "Setting immutable/append flag not supported"
-- 
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