* tests: libmount/context: 3 of 7 tests fail
@ 2012-07-31 6:13 Bernhard Voelker
0 siblings, 0 replies; only message in thread
From: Bernhard Voelker @ 2012-07-31 6:13 UTC (permalink / raw)
To: util-linux@vger.kernel.org
3 out of the 7 "context" tests fail:
== 1 ==
libmount/context-mount-by-label:
--- /media/sdb5/berny/git/util-linux/tests/expected/libmount/context-mount-by-label 2011-07-19 12:33:59.000000000
+0200
+++ /media/sdb5/berny/git/util-linux/tests/output/libmount/context-mount-by-label 2012-07-31 07:48:17.278156133
+0200
@@ -1 +1,2 @@
-successfully mounted
+failed to mount: No such file or directory
+FAILED [rc=-5002](by label) cannot find /dev/sdh1 in /media/sdb5/berny/git/util-linux/tests/output/libmount/context.mtab
An additional strace finds the reason:
stat("/dev/disk/by-label/libmount-test", 0x7fff11d9a1f0) = -1 ENOENT (No such file or directory)
== 2 ==
libmount/context-umount-by-mountpoint:
--- /media/sdb5/berny/git/util-linux/tests/expected/libmount/context-umount-by-mountpoint 2011-07-19
12:33:59.000000000 +0200
+++ /media/sdb5/berny/git/util-linux/tests/output/libmount/context-umount-by-mountpoint 2012-07-31 08:00:51.697334780
+0200
@@ -1 +1,2 @@
-successfully umounted
+failed to umount
+FAILED [rc=22]
\ No newline at end of file
and the strace output:
umount("/media/sdb5/berny/git/util-linux"..., 0) = -1 EINVAL (Invalid argument)
I think this is because the previous test context-mount-by-label failed.
== 3 ==
libmount/context-mount-by-uuid:
Similar to #1:
--- /media/sdb5/berny/git/util-linux/tests/expected/libmount/context-mount-by-uuid 2011-07-19 12:33:59.000000000
+0200
+++ /media/sdb5/berny/git/util-linux/tests/output/libmount/context-mount-by-uuid 2012-07-31 07:51:50.671831873
+0200
@@ -1,2 +1,4 @@
-successfully mounted
-successfully umounted
+failed to mount: No such file or directory
+FAILED [rc=-5002](by uuid) cannot find /dev/sdh1 in /media/sdb5/berny/git/util-linux/tests/output/libmount/context.mtab
+failed to umount
+FAILED [rc=22]
\ No newline at end of file
and the strace output:
stat("/dev/disk/by-uuid/ebda8159-3411-4d0b-a5c4-369cefc900f5", 0x7fffad358cd0) = -1 ENOENT (No such file or directory)
Is this a test framework failure, a real error or is there
something strange on my PC (OpenSuSE-12.1 64-bit)?
Have a nice day,
Berny
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-07-31 6:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-31 6:13 tests: libmount/context: 3 of 7 tests fail Bernhard Voelker
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.