[PATCH] tests: avoid spurious test failure with newer xfsprogs

Jim Meyering meyering at redhat.com
Thu Feb 4 09:30:16 UTC 2010


* 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 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/t4100-dvh-partition-limits.sh b/tests/t4100-dvh-partition-limits.sh
index 01e3078..bf269e7 100755
--- a/tests/t4100-dvh-partition-limits.sh
+++ b/tests/t4100-dvh-partition-limits.sh
@@ -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"

     '
--
1.7.0.rc1.193.ge8618



More information about the parted-devel mailing list