OSDN Git Service

tests: avoid spurious test failure with newer xfsprogs
authorJim Meyering <meyering@redhat.com>
Thu, 4 Feb 2010 09:30:16 +0000 (10:30 +0100)
committerJim Meyering <meyering@redhat.com>
Thu, 4 Feb 2010 09:34:36 +0000 (10:34 +0100)
* tests/t4100-dvh-partition-limits.sh: Use mkfs.xfs' -f (force)
option.  It is required at least for xfsprogs-3.1.0.

tests/t4100-dvh-partition-limits.sh

index 01e3078..bf269e7 100755 (executable)
@@ -37,7 +37,7 @@ test_expect_success \
     'create an XFS file system' \
     '
     dd if=/dev/zero of=$fs bs=1MB count=2 seek=20 &&
-    mkfs.xfs -q $fs &&
+    mkfs.xfs -f -q $fs &&
     mkdir "$mp"
 
     '