xfs
[Top] [All Lists]

[PATCH] xfstests: fix for bash 3.2

To: xfs@xxxxxxxxxxx
Subject: [PATCH] xfstests: fix for bash 3.2
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Thu, 4 Jun 2009 09:03:10 -0400
User-agent: Mutt/1.5.18 (2008-05-17)
Bash 3.2 wants a space before the closing "]" in a test:


Signed-off-by: Christoph Hellwig <hch@xxxxxx>

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.

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