xfs
[Top] [All Lists]

Re: [PATCH] xfstests: fix for bash 3.2

To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Subject: Re: [PATCH] xfstests: fix for bash 3.2
From: Felix Blyakher <felixb@xxxxxxx>
Date: Thu, 4 Jun 2009 08:33:33 -0500
Cc: xfs@xxxxxxxxxxx
In-reply-to: <20090604130310.GA14560@xxxxxxxxxxxxx>
References: <20090604130310.GA14560@xxxxxxxxxxxxx>

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@xxxxxx>

Reviewed-by: Felix Blyakher <felixb@xxxxxxx>



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@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs

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