[Top] [All Lists]

[PATCH 2/3] xfstests: replace $seq.full with $seqres.full in ext4/305 an

To: xfs@xxxxxxxxxxx
Subject: [PATCH 2/3] xfstests: replace $seq.full with $seqres.full in ext4/305 and generic/308
From: Eryu Guan <eguan@xxxxxxxxxx>
Date: Sun, 7 Apr 2013 18:39:06 +0800
Cc: Eryu Guan <eguan@xxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1365331147-15179-1-git-send-email-eguan@xxxxxxxxxx>
References: <1365331147-15179-1-git-send-email-eguan@xxxxxxxxxx>
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@xxxxxxxxxx>
 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
-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
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 
+$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 
+$XFS_IO_PROG -f -c "pwrite $offset $block_size" -c fsync $testfile 
>>$seqres.full 2>&1
 # Got here without hitting BUG_ON(), test passed

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