]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
xfstests: fix syntax error in check
authorChristoph Hellwig <hch@lst.de>
Thu, 4 Jun 2009 17:12:55 +0000 (19:12 +0200)
committerChristoph Hellwig <hch@brick.lst.de>
Thu, 4 Jun 2009 17:12:55 +0000 (19:12 +0200)
Bash 3.2 wants a space before the closing "]" in a test.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Felix Blyakher <felixb@sgi.com>
check

diff --git a/check b/check
index 55e90a14f8db370655aac6b80696cfd0bd1ad5f1..02fcfd762e8cad5de696465414b6b4a84c8dcdb7 100755 (executable)
--- a/check
+++ b/check
@@ -160,7 +160,7 @@ MOUNT_OPTIONS -- $FULL_MOUNT_OPTIONS
 
 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.