The test does not require a fresh file system. In addition make sure we always
prepare the tarball outside the tested file system to get a better chance to
catch differences between the tested filesystem and otherṡ. We currently skip
that if running on xfs.
Signed-off-by: Christoph Hellwig <hch@xxxxxx>
---
tests/generic/100 | 7 -------
1 file changed, 7 deletions(-)
diff --git a/tests/generic/100 b/tests/generic/100
index 05d766f..2e73c1a 100755
--- a/tests/generic/100
+++ b/tests/generic/100
@@ -47,7 +47,6 @@ _supported_os IRIX Linux
# Use _populate_fs() in common/rc to create a directory structure.
TEMP_DIR=/tmp
-[ "$FSTYP" == "xfs" ] && TEMP_DIR=$TEST_DIR
TAR_FILE=temp.tar
NDIRS=3
NFILES=6
@@ -67,9 +66,6 @@ _populate_fs -n $NDIRS -f $NFILES -d $DEPTH -r $POPULATED_DIR
-s $SIZE >>$seqres
# Then tar up the directory structure
tar -cvf $TEMP_DIR/$TAR_FILE $POPULATED_DIR >>$seqres.full 2>&1
-# create f/s
-_require_scratch
-
# untar on f/s
cd $TEST_DIR
tar -xRvf $TEMP_DIR/$TAR_FILE >>$seqres.full 2>&1
@@ -79,8 +75,5 @@ cd $here
ls -R -l ${TEST_DIR}${POPULATED_DIR} >>$seqres.full 2>&1
diff -qr $POPULATED_DIR ${TEST_DIR}${POPULATED_DIR}
-cd /
-_check_scratch_fs
-
status=0
exit
--
1.7.10.4
|