xfs
[Top] [All Lists]

[PATCH 13/12] xfs/209: filter scratch dir properly

To: "Darrick J. Wong" <darrick.wong@xxxxxxxxxx>
Subject: [PATCH 13/12] xfs/209: filter scratch dir properly
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Sat, 5 Mar 2016 12:25:02 -0800
Cc: david@xxxxxxxxxxxxx, linux-ext4@xxxxxxxxxxxxxxx, fstests@xxxxxxxxxxxxxxx, linux-btrfs@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <20160305003717.28738.98818.stgit@xxxxxxxxxxxxxxxx>
References: <20160305003717.28738.98818.stgit@xxxxxxxxxxxxxxxx>
User-agent: Mutt/1.5.24 (2015-08-30)
Signed-off-by: Christoph Hellwig <hch@xxxxxx>

diff --git a/tests/xfs/209 b/tests/xfs/209
index cecd9c7..9bf1f12 100755
--- a/tests/xfs/209
+++ b/tests/xfs/209
@@ -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
 
diff --git a/tests/xfs/209.out b/tests/xfs/209.out
index 109af34..b97fa96 100644
--- a/tests/xfs/209.out
+++ b/tests/xfs/209.out
@@ -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

<Prev in Thread] Current Thread [Next in Thread>