The test does not require a fresh file system.
Signed-off-by: Christoph Hellwig <hch@xxxxxx>
---
tests/generic/124 | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/tests/generic/124 b/tests/generic/124
index 93ec4a1..132f2bf 100755
--- a/tests/generic/124
+++ b/tests/generic/124
@@ -48,12 +48,10 @@ _cleanup()
_supported_fs generic
_supported_os Linux
-_require_scratch
-_scratch_mkfs >/dev/null 2>&1
-_scratch_mount
+rm -f $TEST_DIR/rw_pattern.$seq $TEST_DIR/rw_pattern.$seq
# Run preallo_rw_pattern on both test and scratch partitions
-for TESTFILE in $TEST_DIR/rw_pattern.tmp $SCRATCH_MNT/rw_pattern.tmp
+for TESTFILE in $TEST_DIR/rw_pattern.$seq $TEST_DIR/rw_pattern.$seq
do
count=1
while (( count < 101 ))
@@ -74,9 +72,4 @@ if (test $? -eq 0 ) then
status=0
fi
-umount $SCRATCH_DEV
-
-_check_test_fs
-_check_scratch_fs
-
exit
--
1.7.10.4
|