GNU bug report logs - #10110
tests/id/gnu-zero-uids: skipping with "not running on GNU/Hurd" on Linux

Previous Next

Package: coreutils;

Reported by: Bernhard Voelker <mail <at> bernhard-voelker.de>

Date: Tue, 22 Nov 2011 19:04:01 UTC

Severity: normal

Tags: notabug

Done: Eric Blake <eblake <at> redhat.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Bernhard Voelker <mail <at> bernhard-voelker.de>
Subject: bug#10110: closed (Re: bug#10110: tests/id/gnu-zero-uids:
 skipping with "not running on GNU/Hurd" on Linux)
Date: Tue, 22 Nov 2011 19:11:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#10110: tests/id/gnu-zero-uids: skipping with "not running on GNU/Hurd" on Linux

which was filed against the coreutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 10110 <at> debbugs.gnu.org.

-- 
10110: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10110
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eric Blake <eblake <at> redhat.com>
To: Bernhard Voelker <mail <at> bernhard-voelker.de>
Cc: 10110-done <at> debbugs.gnu.org
Subject: Re: bug#10110: tests/id/gnu-zero-uids: skipping with "not running
	on GNU/Hurd" on Linux
Date: Tue, 22 Nov 2011 12:08:36 -0700
[Message part 3 (text/plain, inline)]
tag 10110 notabug
thanks

On 11/22/2011 12:01 PM, Bernhard Voelker wrote:
> Hi,
> 
> this new tests is skipped on my OpenSuSE-11.4 system:

This may have been a question better for the coreutils <at> gnu.org list,
rather than opening up a new bug report.  As such, I tagged this as not
a bug, and marked it closed; but we can reopen it if you can propose
better wording that would avoid further confusion.

> 
> ...
> + require_gnu_
> ++ uname
> + test Linux = GNU
> + skip_ 'not running on GNU/Hurd'
> + warn_ 'gnu-zero-uids: skipped test: not running on GNU/Hurd'
> + case $IFS in
> + printf '%s\n' 'gnu-zero-uids: skipped test: not running on GNU/Hurd'
> gnu-zero-uids: skipped test: not running on GNU/Hurd
> + test 9 = 2
> + printf '%s\n' 'gnu-zero-uids: skipped test: not running on GNU/Hurd'
> + sed 1q
> + Exit 77
> 
> I'm confused by this message:
> I do not have a GNU/Hurd system, but the test is skipped.

It made sense to me, short for:

"We are skipping this test, since you are not running the test on
GNU/Hurd, which is the only platform known to be affected by the problem
exposed by the test"

> 
> Shouldn't it be "skipping test: only running on GNU/Hurd"?

That doesn't read right to me, since you _aren't_ running on GNU/Hurd,
but GNU/Linux.

> Or should the test run on Linux and require_gnu_ is buggy?

No.  The test can only pass on a system where getuid() can fail, and the
only known platform where that is the case is GNU/Hurd (GNU/Linux does
not provide the extension of a getuid() that can fail by executing a
process outside the realm of POSIX process ids).

-- 
Eric Blake   eblake <at> redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

[signature.asc (application/pgp-signature, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Bernhard Voelker <mail <at> bernhard-voelker.de>
To: bug-coreutils <at> gnu.org
Subject: tests/id/gnu-zero-uids: skipping with "not running on GNU/Hurd" on
	Linux
Date: Tue, 22 Nov 2011 20:01:06 +0100
[Message part 6 (text/plain, inline)]
Hi,

this new tests is skipped on my OpenSuSE-11.4 system:

...
+ require_gnu_
++ uname
+ test Linux = GNU
+ skip_ 'not running on GNU/Hurd'
+ warn_ 'gnu-zero-uids: skipped test: not running on GNU/Hurd'
+ case $IFS in
+ printf '%s\n' 'gnu-zero-uids: skipped test: not running on GNU/Hurd'
gnu-zero-uids: skipped test: not running on GNU/Hurd
+ test 9 = 2
+ printf '%s\n' 'gnu-zero-uids: skipped test: not running on GNU/Hurd'
+ sed 1q
+ Exit 77

I'm confused by this message:
I do not have a GNU/Hurd system, but the test is skipped.

Shouldn't it be "skipping test: only running on GNU/Hurd"?
Or should the test run on Linux and require_gnu_ is buggy?

Have a nice day,
Berny
[gnu-zero-uids.log (text/x-log, attachment)]

This bug report was last modified 13 years and 175 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.