[Top] [All Lists]

[PATCH 4/5] xfstests: fix incorrect redirect in generic/232

To: xfs@xxxxxxxxxxx
Subject: [PATCH 4/5] xfstests: fix incorrect redirect in generic/232
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Wed, 1 May 2013 18:32:02 +1000
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1367397123-2530-1-git-send-email-david@xxxxxxxxxxxxx>
References: <1367397123-2530-1-git-send-email-david@xxxxxxxxxxxxx>
From: Dave Chinner <dchinner@xxxxxxxxxx>

generic/232 attempts to direct output to tee, but instead of using a
pipe it uses an append operator. Hence it leaves a file named "tee"
in the root directory of the xfstests execution path. Just direct
the output to the $seqres.full file rather than trying to tee it
into the test output as well.

Signed-off-by: Dave Chinner <dchinner@xxxxxxxxxx>
 tests/generic/232 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/generic/232 b/tests/generic/232
index 2402c45..8ada8aa 100755
--- a/tests/generic/232
+++ b/tests/generic/232
@@ -55,7 +55,7 @@ _fsstress()
        args=`_scale_fsstress_args -d $out -n $count -p 7`
-       echo "fsstress $args" >> tee -a $seqres.full
+       echo "fsstress $args" >> $seqres.full
        if ! $FSSTRESS_PROG $args | tee -a $seqres.full | _filter_num
                echo "    fsstress $args returned $?"

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