xfstests: fix incorrect redirect in generic/232
authorDave Chinner <dchinner@redhat.com>
Wed, 1 May 2013 08:32:02 +0000 (08:32 +0000)
committerRich Johnston <rjohnston@sgi.com>
Fri, 3 May 2013 14:22:13 +0000 (09:22 -0500)
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@redhat.com>
Reviewed-by: Rich Johnston <rjohnston@sgi.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
tests/generic/232

index 2402c456c85c58106adb22fdf4c8f472665b20ce..8ada8aac735fed3be0403d1a435e22b45746ca0b 100755 (executable)
@@ -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 $?"