public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Eryu Guan <eguan@redhat.com>
To: xfs@oss.sgi.com
Cc: Eryu Guan <eguan@redhat.com>
Subject: [PATCH 2/3] xfstests: replace $seq.full with $seqres.full in ext4/305 and generic/308
Date: Sun,  7 Apr 2013 18:39:06 +0800	[thread overview]
Message-ID: <1365331147-15179-2-git-send-email-eguan@redhat.com> (raw)
In-Reply-To: <1365331147-15179-1-git-send-email-eguan@redhat.com>

We use $seqres.full to record verbose output now, replace $seq.full with
$seqres.full in ext4/305 and generic/308.

Signed-off-by: Eryu Guan <eguan@redhat.com>
---
 tests/ext4/305    | 6 +++---
 tests/generic/308 | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/tests/ext4/305 b/tests/ext4/305
index bf9d9cd..eee461a 100644
--- a/tests/ext4/305
+++ b/tests/ext4/305
@@ -46,12 +46,12 @@ _supported_os Linux
 
 _require_scratch
 
-rm -f $seq.full
+rm -f $seqres.full
 echo "Silence is golden"
 
 DEV_BASENAME=$(basename $(readlink -f $SCRATCH_DEV))
-echo "Start test on device $SCRATCH_DEV, basename $DEV_BASENAME" >$seq.full
-_scratch_mkfs >>$seq.full 2>&1
+echo "Start test on device $SCRATCH_DEV, basename $DEV_BASENAME" >$seqres.full
+_scratch_mkfs >>$seqres.full 2>&1
 
 while true;do
 	mount $SCRATCH_DEV $SCRATCH_MNT
diff --git a/tests/generic/308 b/tests/generic/308
index 0db093a..8037c08 100644
--- a/tests/generic/308
+++ b/tests/generic/308
@@ -45,7 +45,7 @@ testfile=$TEST_DIR/testfile.$seq
 _supported_fs generic
 _supported_os Linux
 
-rm -f $seq.full
+rm -f $seqres.full
 echo "Silence is golden"
 
 block_size=`stat -f -c %s $TEST_DIR`
@@ -58,11 +58,11 @@ block_size=`stat -f -c %s $TEST_DIR`
 
 # Create a sparse file with an extent lays at one block before old s_maxbytes
 offset=$(((2**32 - 2) * $block_size))
-$XFS_IO_PROG -f -c "pwrite $offset $block_size" -c fsync $testfile >$seq.full 2>&1
+$XFS_IO_PROG -f -c "pwrite $offset $block_size" -c fsync $testfile >$seqres.full 2>&1
 
 # Write to the block after the extent just created
 offset=$(((2**32 - 1) * $block_size))
-$XFS_IO_PROG -f -c "pwrite $offset $block_size" -c fsync $testfile >>$seq.full 2>&1
+$XFS_IO_PROG -f -c "pwrite $offset $block_size" -c fsync $testfile >>$seqres.full 2>&1
 
 # Got here without hitting BUG_ON(), test passed
 status=0
-- 
1.8.1.4

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

  reply	other threads:[~2013-04-07 10:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-07 10:39 [PATCH 1/3] xfstests: remove comments about creator in new Eryu Guan
2013-04-07 10:39 ` Eryu Guan [this message]
2013-04-08 13:01   ` [PATCH 2/3] xfstests: replace $seq.full with $seqres.full in ext4/305 and generic/308 Rich Johnston
2013-04-10 12:14   ` Rich Johnston
2013-04-07 10:39 ` [PATCH 3/3] xfstests generic 310: fix common file path and other cleanups Eryu Guan
2013-04-08 14:05   ` Rich Johnston
2013-04-09  5:29     ` Eryu Guan
2013-04-08 12:55 ` [PATCH 1/3] xfstests: remove comments about creator in new Rich Johnston
2013-04-10 12:12 ` Rich Johnston

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=1365331147-15179-2-git-send-email-eguan@redhat.com \
    --to=eguan@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