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

From: Jim Meyering <[email-masked]>
Date: Tue, 22 Nov 2011 20:06:43 +0100

Bernhard Voelker wrote:
> 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?

It's saying that the test is being skipped
because it is "not running on GNU/Hurd"