This root-only test started failing with the newer xfsprogs, for which mkfs.xfs now requires the -f option in order to operate on a regular file. Here's the fix I've pushed:
>From f8aa877a75c0f4204409d6556376ca9abd620a0b Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyer...@redhat.com> Date: Thu, 4 Feb 2010 10:30:16 +0100 Subject: [PATCH] tests: avoid spurious test failure with newer xfsprogs * 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 _______________________________________________ parted-devel mailing list parted-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/parted-devel