[parted-devel] Test suite failures
Phillip Susi
psusi at cfl.rr.com
Wed Dec 7 00:52:55 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm getting 3 test suite failures with current master that I just can't make sense of. The first one is from t1100-busy-label. The relevant sections of the log are:
+ parted -s /dev/sdf mkpart primary fat32 41 85
+ fail=1
+ compare /dev/null out
+ diff -u /dev/null out
- --- /dev/null 2011-12-06 23:56:13.872490003 +0000
+++ out 2011-12-07 00:33:06.184355798 +0000
@@ -0,0 +1 @@
+Error: Partition(s) 1 on /dev/sdf have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use. As a result, the old partition(s) will remain in use. You should reboot now before making further changes.
+ fail=1
This looks like a bug in parted as partition 1 should not have been modified here -- only partition 2, yet it appears to be trying to update partition 1. When I manually try to reproduce the error running the same commands the test does by hand, it works fine.
The second failure is in t8000-loop:
+ parted -s /home/psusi/parted/tests/gt-t8000-loop.sh.36vy/root/dev/loop1 mklabel msdos
+ fail=1
+ compare /dev/null err
+ diff -u /dev/null err
+ parted -s /home/psusi/parted/tests/gt-t8000-loop.sh.36vy/root/dev/loop1 mkpart primary 1 10
This looks like parted failed with no output message.
t8001-loop-blkpg.sh fails in much the same way, but I noticed that it tries to modprobe loop. On Ubuntu, the loop module is built into the kernel, so this won't work. I think this test needs modified to not try to load the module.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk7euOQACgkQJ4UciIs+XuJ87wCgwpNg1qbtYwjLwUO+SAtXFWCm
+bcAoKlWVl9oAAySJ3Ku86kGSDAn1pI7
=2UBJ
-----END PGP SIGNATURE-----
More information about the parted-devel
mailing list