xfs
[Top] [All Lists]

[PATCH] xfstests: make 223 use more compatible indirection operator

To: xfs@xxxxxxxxxxx
Subject: [PATCH] xfstests: make 223 use more compatible indirection operator
From: Alain Renaud <arenaud@xxxxxxx>
Date: Fri, 01 Oct 2010 09:09:33 -0400
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100915 Thunderbird/3.0.8
Hello all,

I notice while running xfstests on SLES machine that the test 223 fail
because of syntax error.

# bash 223
QA output created by 223
223: line 66: syntax error near unexpected token `>'
223: line 66: `    _scratch_mkfs_geom $SUNIT_BYTES 4 $BLOCKSIZE&>>  $seq.full'

The error is due to the use of the '&>>' operator for redirection that does not
work  on older bash version(3.2.x).
Note that this operator only seem to work with bash version 4.X+

This patch simply replace the operator with '>>  $seq.full 2>&1' which does
the same thing.

--
Signed-off-by: Alain Renaud <arenaud@xxxxxxx>



Attachment: 223.patch
Description: Text Data

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