]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
xfstests: fix incorrect redirect in generic/233
authorDave Chinner <dchinner@redhat.com>
Tue, 14 May 2013 13:34:44 +0000 (08:34 -0500)
committerRich Johnston <rjohnston@sgi.com>
Tue, 14 May 2013 13:34:44 +0000 (08:34 -0500)
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@gmail.com>
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
tests/generic/233

index 2b6cd2fadd234d37a8f7d0599b696738ed49ba2f..58b3672d68d0295cf871cb2cc961a87db3d9165a 100755 (executable)
@@ -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 | _filter_num
        then
                echo "    fsstress $args returned $?"