[PATCH 1/2] xfstests: fix incorrect redirect in generic/233
Eric Sandeen
sandeen at sandeen.net
Wed May 8 09:34:13 CDT 2013
On 5/8/13 1:04 AM, Dave Chinner wrote:
> From: Dave Chinner <dchinner at redhat.com>
>
> 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 at gmail.com>
> Signed-off-by: Dave Chinner <dchinner at redhat.com>
Reviewed-by: Eric Sandeen <sandeen at redhat.com>
> ---
> 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 | _filter_num
> then
> echo " fsstress $args returned $?"
>
More information about the xfs
mailing list