From 3cca5094d6c9ee3c6dc84677b78f6a2fc8167371 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Mon, 8 Feb 2016 09:27:15 +1100 Subject: [PATCH] xfs/139: fix scratch device filtering Signed-off-by: Christoph Hellwig Reviewed-by: Darrick J. Wong Signed-off-by: Dave Chinner --- tests/xfs/139 | 4 ++-- tests/xfs/139.out | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) mode change 100644 => 100755 tests/xfs/139 diff --git a/tests/xfs/139 b/tests/xfs/139 old mode 100644 new mode 100755 index 7400cf88..51c903e5 --- a/tests/xfs/139 +++ b/tests/xfs/139 @@ -69,8 +69,8 @@ _pwrite_byte 0x62 0 $sz "$testdir/file1" >> "$seqres.full" _scratch_remount echo "Compare files" -md5sum "$testdir/file1" | _filter_test_dir -md5sum "$testdir/file2" | _filter_test_dir +md5sum "$testdir/file1" | _filter_scratch +md5sum "$testdir/file2" | _filter_scratch #filefrag -v "$testdir/file1" "$testdir/file2" echo "Check scratch fs" diff --git a/tests/xfs/139.out b/tests/xfs/139.out index 729e2d6b..090e3af8 100644 --- a/tests/xfs/139.out +++ b/tests/xfs/139.out @@ -3,6 +3,6 @@ Format and mount Create the original files CoW every other block Compare files -673c759fb131ccf3336c4f8c549a497e /opt/test-139/file1 -dc802351f6717547cbf4c951b294f952 /opt/test-139/file2 +673c759fb131ccf3336c4f8c549a497e SCRATCH_MNT/test-139/file1 +dc802351f6717547cbf4c951b294f952 SCRATCH_MNT/test-139/file2 Check scratch fs -- 2.39.5