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
SKIP: id/gnu-zero-uids (exit: 77)
=================================

++ initial_cwd_=/home/berny/git/coreutils/tests
++ fail=0
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /home/berny/git/coreutils/tests gt-gnu-zero-uids.XXXX
+++ case $# in
+++ destdir_=/home/berny/git/coreutils/tests
+++ template_=gt-gnu-zero-uids.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ case $template_ in
++++ unset TMPDIR
++++ mktemp -d -t -p /home/berny/git/coreutils/tests gt-gnu-zero-uids.XXXX
+++ d=/home/berny/git/coreutils/tests/gt-gnu-zero-uids.ftiS
+++ case $d in
+++ test -d /home/berny/git/coreutils/tests/gt-gnu-zero-uids.ftiS
++++ ls -dgo /home/berny/git/coreutils/tests/gt-gnu-zero-uids.ftiS
++++ tr S -
+++ perms='drwx------ 2 4096 Nov 22 19:48 /home/berny/git/coreutils/tests/gt-gnu-zero-uids.fti-'
+++ case $perms in
+++ test 0 = 0
+++ echo /home/berny/git/coreutils/tests/gt-gnu-zero-uids.ftiS
+++ return
++ test_dir_=/home/berny/git/coreutils/tests/gt-gnu-zero-uids.ftiS
++ cd /home/berny/git/coreutils/tests/gt-gnu-zero-uids.ftiS
++ gl_init_sh_nl_='
'
++ IFS=' 	
'
++ for sig_ in 1 2 3 13 15
+++ expr 1 + 128
++ eval 'trap '\''Exit 129'\'' 1'
+++ trap 'Exit 129' 1
++ for sig_ in 1 2 3 13 15
+++ expr 2 + 128
++ eval 'trap '\''Exit 130'\'' 2'
+++ trap 'Exit 130' 2
++ for sig_ in 1 2 3 13 15
+++ expr 3 + 128
++ eval 'trap '\''Exit 131'\'' 3'
+++ trap 'Exit 131' 3
++ for sig_ in 1 2 3 13 15
+++ expr 13 + 128
++ eval 'trap '\''Exit 141'\'' 13'
+++ trap 'Exit 141' 13
++ for sig_ in 1 2 3 13 15
+++ expr 15 + 128
++ eval 'trap '\''Exit 143'\'' 15'
+++ trap 'Exit 143' 15
++ trap remove_tmp_ 0
+ path_prepend_ ../src
+ test 1 '!=' 0
+ path_dir_=../src
+ case $path_dir_ in
++ cd /home/berny/git/coreutils/tests/../src
++ echo /home/berny/git/coreutils/src
+ abs_path_dir_=/home/berny/git/coreutils/src
+ case $abs_path_dir_ in
+ PATH=/home/berny/git/coreutils/src:/home/berny/git/coreutils/src:/usr/lib64/mpi/gcc/openmpi/bin:/home/berny/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games
+ create_exe_shims_ /home/berny/git/coreutils/src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ id
+ test yes = yes
+ local i
+ for i in '$*'
+ env id --version
id (GNU coreutils) 8.14.69-33314
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Arnold Robbins and David MacKenzie.
+ 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
+ set +e
+ exit 77
+ exit 77
+ remove_tmp_
+ __st=77
+ cleanup_
+ :
+ cd /home/berny/git/coreutils/tests
+ chmod -R u+rwx /home/berny/git/coreutils/tests/gt-gnu-zero-uids.ftiS
+ rm -rf /home/berny/git/coreutils/tests/gt-gnu-zero-uids.ftiS
+ exit 77

Reply via email to