[PATCH 2/3] xfstests 322: use _filter_scratch()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Lukas Czerner <lczerner@xxxxxxxxxx>
---
 tests/generic/322     | 8 ++++----
 tests/generic/322.out | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/tests/generic/322 b/tests/generic/322
index 1cea133..94f8f68 100644
--- a/tests/generic/322
+++ b/tests/generic/322
@@ -65,12 +65,12 @@ _rename_test()
 	mv $SCRATCH_MNT/foo $SCRATCH_MNT/bar
 	$XFS_IO_PROG -c "fsync" $SCRATCH_MNT/bar
 	_load_flakey_table $FLAKEY_DROP_WRITES
-	md5sum $SCRATCH_MNT/bar
+	md5sum $SCRATCH_MNT/bar | _filter_scratch
 	_unmount_flakey
 
 	_load_flakey_table $FLAKEY_ALLOW_WRITES
 	_mount_flakey
-	md5sum $SCRATCH_MNT/bar
+	md5sum $SCRATCH_MNT/bar | _filter_scratch
 	_unmount_flakey
 	_check_scratch_fs $FLAKEY_DEV
 	[ $? -ne 0 ] && _fatal "fsck failed"
@@ -87,12 +87,12 @@ _write_after_fsync_rename_test()
 	mv $SCRATCH_MNT/foo $SCRATCH_MNT/bar
 	$XFS_IO_PROG -c "fsync" $SCRATCH_MNT/bar
 	_load_flakey_table $FLAKEY_DROP_WRITES
-	md5sum $SCRATCH_MNT/bar
+	md5sum $SCRATCH_MNT/bar | _filter_scratch
 	_unmount_flakey
 
 	_load_flakey_table $FLAKEY_ALLOW_WRITES
 	_mount_flakey
-	md5sum $SCRATCH_MNT/bar
+	md5sum $SCRATCH_MNT/bar | _filter_scratch
 	_unmount_flakey
 	_check_scratch_fs $FLAKEY_DEV
 	[ $? -ne 0 ] && _fatal "fsck failed"
diff --git a/tests/generic/322.out b/tests/generic/322.out
index 0d9f274..a23f890 100644
--- a/tests/generic/322.out
+++ b/tests/generic/322.out
@@ -1,7 +1,7 @@
 QA output created by 322
 fsync rename test
-ca539970d4b1fa1f34213ba675007381  /mnt/scratch/bar
-ca539970d4b1fa1f34213ba675007381  /mnt/scratch/bar
+ca539970d4b1fa1f34213ba675007381  SCRATCH_MNT/bar
+ca539970d4b1fa1f34213ba675007381  SCRATCH_MNT/bar
 fsync rename test
-d34ff04c17ef7068d78d0c4be49cfe57  /mnt/scratch/bar
-d34ff04c17ef7068d78d0c4be49cfe57  /mnt/scratch/bar
+d34ff04c17ef7068d78d0c4be49cfe57  SCRATCH_MNT/bar
+d34ff04c17ef7068d78d0c4be49cfe57  SCRATCH_MNT/bar
-- 
1.8.3.1

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs




[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux