All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bernhard Voelker <mail@bernhard-voelker.de>
To: "util-linux@vger.kernel.org" <util-linux@vger.kernel.org>
Subject: tests: libmount/context: 3 of 7 tests fail
Date: Tue, 31 Jul 2012 08:13:47 +0200	[thread overview]
Message-ID: <5017779B.3060700@bernhard-voelker.de> (raw)

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


                 reply	other threads:[~2012-07-31  6:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5017779B.3060700@bernhard-voelker.de \
    --to=mail@bernhard-voelker.de \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.