public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Lukas Czerner <lczerner@redhat.com>
To: xfs@oss.sgi.com
Cc: Lukas Czerner <lczerner@redhat.com>
Subject: [PATCH 2/3] xfstests 322: use _filter_scratch()
Date: Tue, 17 Dec 2013 15:02:26 +0100	[thread overview]
Message-ID: <1387288947-12650-2-git-send-email-lczerner@redhat.com> (raw)
In-Reply-To: <1387288947-12650-1-git-send-email-lczerner@redhat.com>

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
---
 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@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

  reply	other threads:[~2013-12-17 14:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-17 14:02 [PATCH 1/3] common: Filter out lost+found directory from _ls_l() output Lukas Czerner
2013-12-17 14:02 ` Lukas Czerner [this message]
2013-12-17 14:02 ` [PATCH 3/3] xfstests 321, 322: do not remove lost+found Lukas Czerner
2013-12-17 16:22 ` [PATCH 1/3] common: Filter out lost+found directory from _ls_l() output Carlos Maiolino

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1387288947-12650-2-git-send-email-lczerner@redhat.com \
    --to=lczerner@redhat.com \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox