]> www.infradead.org Git - users/hch/xfstests-dev.git/commitdiff
xfstests: filter files in 019 for --large-fs
authorDave Chinner <dchinner@redhat.com>
Fri, 15 Mar 2013 11:53:30 +0000 (11:53 +0000)
committerRich Johnston <rjohnston@sgi.com>
Tue, 19 Mar 2013 20:16:13 +0000 (15:16 -0500)
Make sure that the .use_space files don't appear in the files dumped
to the output files.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Rich Johnston <rjohnston@sgi.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
019

diff --git a/019 b/019
index 42e3c2287de954c6d749f40e2b4eb7ceade8c2e1..88be46448d3727b9f599eab3ca863a4b996a7ce3 100755 (executable)
--- a/019
+++ b/019
@@ -128,15 +128,16 @@ _verify_fs()
 
        echo "*** verify FS"
        (cd $SCRATCH_MNT ; find . | LC_COLLATE=POSIX sort \
+               | grep -v ".use_space" \
                | xargs $here/src/lstat64 | _filter_stat)
        diff -q $SCRATCH_MNT/bigfile $tempfile.2 \
                || _fail "bigfile corrupted"
-    
+
        echo "*** unmount FS"
        _full "umount"
        umount $SCRATCH_DEV >>$seqfull 2>&1 \
                || _fail "umount failed"
-           
+
        echo "*** check FS"
        _check_scratch_fs
 }