xfs
[Top] [All Lists]

[PATCH] xfstests: fix log filtering in 223's testcase

To: xfs-oss <xfs@xxxxxxxxxxx>
Subject: [PATCH] xfstests: fix log filtering in 223's testcase
From: Dmitry Monakhov <dmonakhov@xxxxxxxxxx>
Date: Tue, 09 Mar 2010 20:27:14 +0300
Cc: Eric Sandeen <sandeen@xxxxxxxxxx>, Christoph Hellwig <hch@xxxxxxxxxxxxx>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:subject:cc :date:message-id:user-agent:mime-version:content-type; bh=G2kOUZoDpw1cntrVeXOboY2PxALl3NgUzppuVIkcGSA=; b=wae4p+tGAILUaiXWvIWhScPigpi0rzc2pgoFfRhIK24iHPRvXKPPykQ22TG6SOwQtl mp4A0+rn2oC8chy+qGb8V+ET/ohF+NL5ajKetIdmXgbHgRS0jAhkqEOykNrDmcgJ95sH 5cET3ak4ROQeul/CvowrBejnjGQ/34uh8l2FY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:subject:cc:date:message-id:user-agent:mime-version :content-type; b=vn2HDjnrTfVJdPQDK4QdMK1LcFkm9D1Lx6YFvc/UipXlMcjFwLBNaEn5VeSlmhbqyU DNfS0tsyFvpIX3+ZCzgPzfQXdr2nwP7YxQAYCN6tFBlrvAqck/ys+u1wFX0r7LW2Ae6J IzSod9m0PILiCUo8o8ov2XMwX5u47u5mnAQDM=
Sender: Dmitry Monakhov <rjevskiy@xxxxxxxxx>
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)
Msg filter was missed in one place, so test failed if
$SCRATCH_MNT is different than /mnt/scratch.diff 

Signed-off-by: Dimitry Monakhov <dmonakhov@xxxxxxxxxx>
---
 223     |    3 ++-
 223.out |   10 +++++-----
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/223 b/223
index 5c95f7d..7af026c 100755
--- a/223
+++ b/223
@@ -86,7 +86,8 @@ for SUNIT_K in 8 16 32 64 128; do
 
        echo "=== Testing size 1g falloc on ${SUNIT_K}k stripe ==="
        xfs_io -F -f -c "falloc 0 1g" $SCRATCH_MNT/file-1g-falloc &>> $seq.full
-       src/t_stripealign $SCRATCH_MNT/file-1g-falloc $SUNIT_BLOCKS
+       src/t_stripealign $SCRATCH_MNT/file-1g-falloc $SUNIT_BLOCKS \
+           | _filter_scratch
 
        rm -f $SCRATCH_MNT/file-1g-falloc | _filter_scratch
 
diff --git a/223.out b/223.out
index c9588ef..2fb3122 100644
--- a/223.out
+++ b/223.out
@@ -46,7 +46,7 @@ SCRATCH_MNT/file-3-2097152-write: well-aligned
 SCRATCH_MNT/file-4-2097152-falloc: well-aligned
 SCRATCH_MNT/file-4-2097152-write: well-aligned
 === Testing size 1g falloc on 8k stripe ===
-/mnt/scratch/file-1g-falloc: well-aligned
+SCRATCH_MNT/file-1g-falloc: well-aligned
 === Testing size 1073745920 falloc on 8k stripe ===
 SCRATCH_MNT/file-1073745920-falloc: well-aligned
 === mkfs with su 4 blocks x 4 ===
@@ -96,7 +96,7 @@ SCRATCH_MNT/file-3-4194304-write: well-aligned
 SCRATCH_MNT/file-4-4194304-falloc: well-aligned
 SCRATCH_MNT/file-4-4194304-write: well-aligned
 === Testing size 1g falloc on 16k stripe ===
-/mnt/scratch/file-1g-falloc: well-aligned
+SCRATCH_MNT/file-1g-falloc: well-aligned
 === Testing size 1073745920 falloc on 16k stripe ===
 SCRATCH_MNT/file-1073745920-falloc: well-aligned
 === mkfs with su 8 blocks x 4 ===
@@ -146,7 +146,7 @@ SCRATCH_MNT/file-3-8388608-write: well-aligned
 SCRATCH_MNT/file-4-8388608-falloc: well-aligned
 SCRATCH_MNT/file-4-8388608-write: well-aligned
 === Testing size 1g falloc on 32k stripe ===
-/mnt/scratch/file-1g-falloc: well-aligned
+SCRATCH_MNT/file-1g-falloc: well-aligned
 === Testing size 1073745920 falloc on 32k stripe ===
 SCRATCH_MNT/file-1073745920-falloc: well-aligned
 === mkfs with su 16 blocks x 4 ===
@@ -196,7 +196,7 @@ SCRATCH_MNT/file-3-16777216-write: well-aligned
 SCRATCH_MNT/file-4-16777216-falloc: well-aligned
 SCRATCH_MNT/file-4-16777216-write: well-aligned
 === Testing size 1g falloc on 64k stripe ===
-/mnt/scratch/file-1g-falloc: well-aligned
+SCRATCH_MNT/file-1g-falloc: well-aligned
 === Testing size 1073745920 falloc on 64k stripe ===
 SCRATCH_MNT/file-1073745920-falloc: well-aligned
 === mkfs with su 32 blocks x 4 ===
@@ -246,6 +246,6 @@ SCRATCH_MNT/file-3-33554432-write: well-aligned
 SCRATCH_MNT/file-4-33554432-falloc: well-aligned
 SCRATCH_MNT/file-4-33554432-write: well-aligned
 === Testing size 1g falloc on 128k stripe ===
-/mnt/scratch/file-1g-falloc: well-aligned
+SCRATCH_MNT/file-1g-falloc: well-aligned
 === Testing size 1073745920 falloc on 128k stripe ===
 SCRATCH_MNT/file-1073745920-falloc: well-aligned
-- 
1.6.6

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