]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
xfs/209: filter scratch dir properly
authorChristoph Hellwig <hch@infradead.org>
Wed, 23 Mar 2016 06:39:11 +0000 (17:39 +1100)
committerDave Chinner <david@fromorbit.com>
Wed, 23 Mar 2016 06:39:11 +0000 (17:39 +1100)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/xfs/209
tests/xfs/209.out

index cecd9c702b27d61345f9d0338975a42608792666..9bf1f12c0071492caff16006223e0bc5e796ea84 100755 (executable)
@@ -73,7 +73,7 @@ echo "Check cowextsize settings"
 seq 1 2 | while read nr; do
        seq 1 4 | while read nnr; do
                file="$testdir/dir-$nr/file-$nnr"
-               $XFS_IO_PROG -c "cowextsize" $file
+               $XFS_IO_PROG -c "cowextsize" $file | _filter_scratch
        done
 done
 
index 109af349ab90e93151b9871f97a6803cbd3cc8c7..b97fa96cb3746d690a60ff074f3f32cf34e28129 100644 (file)
@@ -3,11 +3,11 @@ Format and mount
 Set extsz and cowextsz on directory
 Create a fake tree structure
 Check cowextsize settings
-[1048576] /opt/test-209/dir-1/file-1
-[1048576] /opt/test-209/dir-1/file-2
-[1048576] /opt/test-209/dir-1/file-3
-[1048576] /opt/test-209/dir-1/file-4
-[1048576] /opt/test-209/dir-2/file-1
-[1048576] /opt/test-209/dir-2/file-2
-[1048576] /opt/test-209/dir-2/file-3
-[1048576] /opt/test-209/dir-2/file-4
+[1048576] SCRATCH_MNT/test-209/dir-1/file-1
+[1048576] SCRATCH_MNT/test-209/dir-1/file-2
+[1048576] SCRATCH_MNT/test-209/dir-1/file-3
+[1048576] SCRATCH_MNT/test-209/dir-1/file-4
+[1048576] SCRATCH_MNT/test-209/dir-2/file-1
+[1048576] SCRATCH_MNT/test-209/dir-2/file-2
+[1048576] SCRATCH_MNT/test-209/dir-2/file-3
+[1048576] SCRATCH_MNT/test-209/dir-2/file-4