xfs
[Top] [All Lists]

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

To: xfs@xxxxxxxxxxx
Subject: [PATCH] xfstests: fix incorrect redirect in generic/232
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Wed, 1 May 2013 17:05:58 +1000
Delivered-to: xfs@xxxxxxxxxxx
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()
        count=2000
        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
        then
                echo "    fsstress $args returned $?"
-- 
1.7.10.4

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] xfstests: fix incorrect redirect in generic/232, Dave Chinner <=