[Parted-commits] GNU Parted Official Repository: Changes to 'master'
Jim Meyering
meyering at alioth.debian.org
Thu May 12 18:55:40 UTC 2011
tests/t1101-busy-partition.sh | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
New commits:
commit 01747afe8208b00fe59dad96037dea1d1bac4b88
Author: Jim Meyering <meyering at redhat.com>
Date: Tue May 10 19:29:23 2011 +0200
tests: adapt t1101-busy-partition not to use mkpartfs
* tests/t1101-busy-partition.sh: Use mkfs.vfat instead.
diff --git a/tests/t1101-busy-partition.sh b/tests/t1101-busy-partition.sh
index f7aab83..116d326 100755
--- a/tests/t1101-busy-partition.sh
+++ b/tests/t1101-busy-partition.sh
@@ -37,15 +37,17 @@ parted -s "$dev" mklabel msdos > out 2>&1 || fail=1
# expect no output
compare out /dev/null || fail=1
-parted -s "$dev" mkpartfs primary fat32 1 40 > out 2>&1 || fail=1
+parted -s "$dev" mkpart primary fat32 1 40 > out 2>&1 || fail=1
compare out /dev/null || fail=1
-parted -s "$dev" mkpartfs primary fat32 40 80 > out 2>&1 || fail=1
+parted -s "$dev" mkpart primary fat32 40 80 > out 2>&1 || fail=1
compare out /dev/null || fail=1
# wait for new partition device to appear
wait_for_dev_to_appear_ ${dev}2 || fail_ ${dev}2 did not appear
+mkfs.vfat -F 32 ${dev}2 || skip_ mkfs.vfat failed
+
# be sure to unmount upon interrupt, failure, etc.
cleanup_fn_() { umount "${dev}2" > /dev/null 2>&1; }
More information about the Parted-commits
mailing list