[Top] [All Lists]

[PATCH 1/3] xfstests: fix incorrect redirect in generic/233

To: xfs@xxxxxxxxxxx
Subject: [PATCH 1/3] xfstests: fix incorrect redirect in generic/233
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Thu, 9 May 2013 11:21:39 +1000
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1368062501-15046-1-git-send-email-david@xxxxxxxxxxxxx>
References: <1368062501-15046-1-git-send-email-david@xxxxxxxxxxxxx>
From: Dave Chinner <dchinner@xxxxxxxxxx>

generic/233 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.

Reported-by: "Michael L. Semon" <mlsemon35@xxxxxxxxx>
Signed-off-by: Dave Chinner <dchinner@xxxxxxxxxx>
Reviewed-by: Eric Sandeen <sandeen@xxxxxxxxxx>
 tests/generic/233 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/generic/233 b/tests/generic/233
index 2b6cd2f..58b3672 100755
--- a/tests/generic/233
+++ b/tests/generic/233
@@ -62,7 +62,7 @@ _fsstress()
 -f rename=10 -f fsync=2 -f write=15 -f dwrite=15 \
 -n $count -d $out -p 7`
-       echo "fsstress $args" >> tee -a $seqres.full
+       echo "fsstress $args" >> $seqres.full
        if ! su $qa_user -c "$FSSTRESS_PROG $args" | tee -a $seqres.full | 
                echo "    fsstress $args returned $?"

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