[PATCH] xfstests: fix for bash 3.2
Christoph Hellwig
hch at infradead.org
Thu Jun 4 08:03:10 CDT 2009
Bash 3.2 wants a space before the closing "]" in a test:
Signed-off-by: Christoph Hellwig <hch at lst.de>
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.
More information about the xfs
mailing list