[PATCH] xfstests: fix for bash 3.2
Felix Blyakher
felixb at sgi.com
Thu Jun 4 08:33:33 CDT 2009
On Jun 4, 2009, at 8:03 AM, Christoph Hellwig wrote:
> Bash 3.2 wants a space before the closing "]" in a test:
>
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
Reviewed-by: Felix Blyakher <felixb at sgi.com>
>
>
> Index: xfstests-dev/check
> ===================================================================
> --- xfstests-dev.orig/check 2009-06-04 12:36:21.000000000 +0000
> +++ xfstests-dev/check 2009-06-04 12:36:26.000000000 +0000
> @@ -160,7 +160,7 @@
>
> EOF
>
> -if [ ! -z "$SCRATCH_DEV"]; then
> +if [ ! -z "$SCRATCH_DEV" ]; then
> umount $SCRATCH_DEV 2>/dev/null
> # call the overridden mkfs - make sure the FS is built
> # the same as we'll create it later.
>
> _______________________________________________
> xfs mailing list
> xfs at oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs
More information about the xfs
mailing list