From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 05:16:07 2011 Received: (at submit) by debbugs.gnu.org; 13 Jun 2011 09:16:07 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QW3Fc-0000Gs-HP for submit@debbugs.gnu.org; Mon, 13 Jun 2011 05:16:07 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QW3FY-0000GJ-1D for submit@debbugs.gnu.org; Mon, 13 Jun 2011 05:16:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QW3FM-0005WT-9a for submit@debbugs.gnu.org; Mon, 13 Jun 2011 05:15:54 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:60255) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QW3FL-0005WM-Pe for submit@debbugs.gnu.org; Mon, 13 Jun 2011 05:15:48 -0400 Received: from eggs.gnu.org ([140.186.70.92]:37752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QW3FF-0000ZZ-5q for bug-coreutils@gnu.org; Mon, 13 Jun 2011 05:15:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QW3F6-0005UF-RF for bug-coreutils@gnu.org; Mon, 13 Jun 2011 05:15:40 -0400 Received: from mo-p00-ob.rzone.de ([81.169.146.161]:59769) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QW3F5-0005Tx-V8 for bug-coreutils@gnu.org; Mon, 13 Jun 2011 05:15:32 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1307956531; l=84199; s=domk; d=haible.de; h=Content-Type:MIME-Version:Date:Subject:To:From:X-RZG-CLASS-ID: X-RZG-AUTH; bh=LTyiNCWTsFN0IKhUKE2kP5z0BaE=; b=TxKMmGe0d6BNvVjyzfHP3BAX0pyeNLwm3Y34IloEf5qbO4w7FyTzbbIvoa0i60cKCh0 kWfz9SqJC0FBTbeS/MD4K5UaM9cn9DJsdwE8COdZFjH+4YVPQr+N7bELUZx6nlcKcbQcC /354Tq+xpKwmc/+ko1qIZlPejSyydnlTUcI= X-RZG-AUTH: :Ln4Re0+Ic/6oZXR1YgKryK8brksyK8dozXDwHXjf9hj/zDNRbP444xzQwQ== X-RZG-CLASS-ID: mo00 Received: from linuix.haible.de (dslb-088-068-058-108.pools.arcor-ip.net [88.68.58.108]) by post.strato.de (cohen mo60) (RZmta 25.18) with ESMTPA id x01cdan5D7gDu5 ; Mon, 13 Jun 2011 11:15:29 +0200 (MEST) From: Bruno Haible To: bug-coreutils@gnu.org Subject: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed Date: Mon, 13 Jun 2011 11:15:27 +0200 User-Agent: KMail/1.9.9 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_wUd9NjXOLRsffCc" Message-Id: <201106131115.28601.bruno@clisp.org> X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org --Boundary-00=_wUd9NjXOLRsffCc Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On HP-UX 11.31, built with cc, coreutils-8.12 gives 3 test suite failures: =46AIL: misc/printf-surprise (exit: 1) =46AIL: dd/nocache (exit: 1) =46AIL: du/inaccessible-cwd (exit: 1) =46ind attached the log file. =2D-=20 In memoriam Anna G=C3=B6ldi --Boundary-00=_wUd9NjXOLRsffCc Content-Type: text/x-log; charset="iso 8859-15"; name="test-suite.log" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="test-suite.log" =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D GNU coreutils 8.12: tests/test-suite.log =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 3 of 365 tests failed. (88 tests were not run). =20 =2E. contents:: :depth: 2 SKIP: tail-2/inotify-race (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number tail (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/tail-2/inotify-race: skipping test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=3Dyes make check SKIP: rm/ext3-perf (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number rm (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/rm/ext3-perf: skipping test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=3Dyes make check SKIP: cp/link-heap (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/cp/link-heap: skipping test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check SKIP: tail-2/inotify-rotate (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + tail --version tail (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering. + . ./init.sh + + expr ././tail-2/inotify-rotate : .*/\(.*\)$ ME_=3Dinotify-rotate + : 2 + DUALCASE=3D1 + export DUALCASE + test -n=20 + 2> /dev/null + gl_shell_test_script_=3D test $(echo y) =3D y || exit 1 score_=3D10 if test "$VERBOSE" =3D yes; then test -n "$( (exec 3>&1; set -x; P=3D1 true 2>&3) 2> /dev/null)" && score_= =3D9 fi test -z "$EXEEXT" && exit $score_ shopt -s expand_aliases alias a-b=3D"echo zoo" v=3Dabx test ${v%x} =3D ab \ && test ${v#a} =3D bx \ && test $(a-b) =3D zoo \ && exit $score_ + test x =3D x--no-reexec + gl_set_x_corrupts_stderr_=3Dfalse + export gl_set_x_corrupts_stderr_ + marginal_=3D + test __current__ =3D no_shell + test __current__ =3D fail + test __current__ =3D __current__ + 1> /dev/null 2>& 1 + st_=3D9 + test 9 =3D 10 + test 9: =3D 9: + marginal_=3D__current__ + gl_set_x_corrupts_stderr_=3Dtrue + test no_shell =3D no_shell + continue + test /bin/sh =3D no_shell + test /bin/sh =3D fail + test /bin/sh =3D __current__ + /bin/sh -c=20 test $(echo y) =3D y || exit 1 score_=3D10 if test "$VERBOSE" =3D yes; then test -n "$( (exec 3>&1; set -x; P=3D1 true 2>&3) 2> /dev/null)" && score_= =3D9 fi test -z "$EXEEXT" && exit $score_ shopt -s expand_aliases alias a-b=3D"echo zoo" v=3Dabx test ${v%x} =3D ab \ && test ${v#a} =3D bx \ && test $(a-b) =3D zoo \ && exit $score_ + 2> /dev/null + st_=3D9 + test 9 =3D 10 + test 9:__current__ =3D 9: + test bash =3D no_shell + test bash =3D fail + test bash =3D __current__ + bash -c=20 test $(echo y) =3D y || exit 1 score_=3D10 if test "$VERBOSE" =3D yes; then test -n "$( (exec 3>&1; set -x; P=3D1 true 2>&3) 2> /dev/null)" && score_= =3D9 fi test -z "$EXEEXT" && exit $score_ shopt -s expand_aliases alias a-b=3D"echo zoo" v=3Dabx test ${v%x} =3D ab \ && test ${v#a} =3D bx \ && test $(a-b) =3D zoo \ && exit $score_ + 2> /dev/null + st_=3D10 + test 10 =3D 10 + break + test bash !=3D __current__ + opts_=3D-x + exec bash -x ./tail-2/inotify-rotate --no-reexec + test yes =3D yes + set -x + tail --version tail (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering. + . ./init.sh +++ expr ././tail-2/inotify-rotate : '.*/\(.*\)$' ++ ME_=3Dinotify-rotate ++ : 2 ++ DUALCASE=3D1 ++ export DUALCASE ++ test -n '' ++ case `(set -o) 2>/dev/null` in ++ set -o posix ++ gl_shell_test_script_=3D' test $(echo y) =3D y || exit 1 score_=3D10 if test "$VERBOSE" =3D yes; then test -n "$( (exec 3>&1; set -x; P=3D1 true 2>&3) 2> /dev/null)" && score_= =3D9 fi test -z "$EXEEXT" && exit $score_ shopt -s expand_aliases alias a-b=3D"echo zoo" v=3Dabx test ${v%x} =3D ab \ && test ${v#a} =3D bx \ && test $(a-b) =3D zoo \ && exit $score_ ' ++ test x--no-reexec =3D x--no-reexec ++ shift ++ test -n '' ++ : 87 ++ export MALLOC_PERTURB_ ++ test -f ./init.cfg ++ . ./init.cfg +++ stderr_fileno_=3D9 +++ sanitize_path_ +++ local 'saved_IFS=3D =09 ' +++ IFS=3D: +++ set -- /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src /opt/l= angtools/bin /home/haible/bin /opt/fsw/bin /opt/tww/bin /opt/aCC/bin /opt/a= nsic/bin /bin /usr/bin /sbin /usr/sbin /usr/bin/X11 /usr/ccs/bin /usr/contr= ib/bin/X11 /usr/vue/bin /opt/imake/bin +++ IFS=3D' =09 ' +++ local d d1 +++ local colon=3D +++ local new_path=3D +++ for d in '"$@"' +++ test -z /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src +++ d1=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src +++ ls -d /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src +++ colon=3D: +++ for d in '"$@"' +++ test -z /opt/langtools/bin +++ d1=3D/opt/langtools/bin +++ ls -d /opt/langtools/bin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin +++ colon=3D: +++ for d in '"$@"' +++ test -z /home/haible/bin +++ d1=3D/home/haible/bin +++ ls -d /home/haible/bin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin +++ colon=3D: +++ for d in '"$@"' +++ test -z /opt/fsw/bin +++ d1=3D/opt/fsw/bin +++ ls -d /opt/fsw/bin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin +++ colon=3D: +++ for d in '"$@"' +++ test -z /opt/tww/bin +++ d1=3D/opt/tww/bin +++ ls -d /opt/tww/bin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin +++ colon=3D: +++ for d in '"$@"' +++ test -z /opt/aCC/bin +++ d1=3D/opt/aCC/bin +++ ls -d /opt/aCC/bin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin +++ colon=3D: +++ for d in '"$@"' +++ test -z /opt/ansic/bin +++ d1=3D/opt/ansic/bin +++ ls -d /opt/ansic/bin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/o= pt/ansic/bin +++ colon=3D: +++ for d in '"$@"' +++ test -z /bin +++ d1=3D/bin +++ ls -d /bin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/o= pt/ansic/bin:/bin +++ colon=3D: +++ for d in '"$@"' +++ test -z /usr/bin +++ d1=3D/usr/bin +++ ls -d /usr/bin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/o= pt/ansic/bin:/bin:/usr/bin +++ colon=3D: +++ for d in '"$@"' +++ test -z /sbin +++ d1=3D/sbin +++ ls -d /sbin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/o= pt/ansic/bin:/bin:/usr/bin:/sbin +++ colon=3D: +++ for d in '"$@"' +++ test -z /usr/sbin +++ d1=3D/usr/sbin +++ ls -d /usr/sbin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/o= pt/ansic/bin:/bin:/usr/bin:/sbin:/usr/sbin +++ colon=3D: +++ for d in '"$@"' +++ test -z /usr/bin/X11 +++ d1=3D/usr/bin/X11 +++ ls -d /usr/bin/X11/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/o= pt/ansic/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/X11 +++ colon=3D: +++ for d in '"$@"' +++ test -z /usr/ccs/bin +++ d1=3D/usr/ccs/bin +++ ls -d /usr/ccs/bin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/o= pt/ansic/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/X11:/usr/ccs/bin +++ colon=3D: +++ for d in '"$@"' +++ test -z /usr/contrib/bin/X11 +++ d1=3D/usr/contrib/bin/X11 +++ ls -d /usr/contrib/bin/X11/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/o= pt/ansic/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/X11:/usr/ccs/bin:/usr/c= ontrib/bin/X11 +++ colon=3D: +++ for d in '"$@"' +++ test -z /usr/vue/bin +++ d1=3D/usr/vue/bin +++ ls -d /usr/vue/bin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/o= pt/ansic/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/X11:/usr/ccs/bin:/usr/c= ontrib/bin/X11:/usr/vue/bin +++ colon=3D: +++ for d in '"$@"' +++ test -z /opt/imake/bin +++ d1=3D/opt/imake/bin +++ ls -d /opt/imake/bin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/o= pt/ansic/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/X11:/usr/ccs/bin:/usr/c= ontrib/bin/X11:/usr/vue/bin:/opt/imake/bin +++ colon=3D: +++ PATH=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/opt/l= angtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/opt/a= nsic/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/X11:/usr/ccs/bin:/usr/contr= ib/bin/X11:/usr/vue/bin:/opt/imake/bin +++ export PATH ++ setup_ ++ test yes =3D yes ++ true ++ warn_ 'using SHELL=3D/bin/sh with '\''set -x'\'' corrupts stderr' ++ echo 'using SHELL=3D/bin/sh with '\''set -x'\'' corrupts stderr' =2E/init.sh: line 77: 1: Bad file number ++ initial_cwd_=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tes= ts ++ fail=3D0 +++ testdir_prefix_ +++ printf gt ++ pfx_=3Dgt +++ mktempd_ /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests gt= =2Dinotify-rotate.XXXX +++ case $# in +++ destdir_=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests +++ template_=3Dgt-inotify-rotate.XXXX +++ MAX_TRIES_=3D4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/= tests gt-inotify-rotate.XXXX +++ d=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests/gt-inot= ify-rotate.1jE5 +++ case $d in +++ test -d /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests/gt-= inotify-rotate.1jE5 ++++ ls -dgo /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests/gt= =2Dinotify-rotate.1jE5 ++++ tr S - +++ perms=3D'drwx------ 2 2 Jun 13 08:50 /home/haible/multibuild-1080/hpux1= 1.31/coreutils-8.12/tests/gt-inotify-rotate.1jE5' +++ case $perms in +++ test 0 =3D 0 +++ echo /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests/gt-ino= tify-rotate.1jE5 +++ return ++ test_dir_=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests/= gt-inotify-rotate.1jE5 ++ cd /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests/gt-inotif= y-rotate.1jE5 ++ gl_init_sh_nl_=3D' ' ++ IFS=3D' =09 ' ++ 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 '!=3D' 0 + path_dir_=3D../src + case $path_dir_ in ++ cd /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests/../src ++ echo /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src + abs_path_dir_=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src + case $abs_path_dir_ in + PATH=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/home/ha= ible/multibuild-1080/hpux11.31/coreutils-8.12/src:/opt/langtools/bin:/home/= haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/opt/ansic/bin:/bin:/usr/= bin:/sbin:/usr/sbin:/usr/bin/X11:/usr/ccs/bin:/usr/contrib/bin/X11:/usr/vue= /bin:/opt/imake/bin + create_exe_shims_ /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/s= rc + case $EXEEXT in + return 0 + shift + test 0 '!=3D' 0 + export PATH + expensive_ + test '' '!=3D' yes + skip_test_ 'expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check ' + echo './tail-2/inotify-rotate: skipping test: expensive: disabled by defa= ult This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check ' + head -1 =2E/init.cfg: line 39: 9: Bad file number + echo './tail-2/inotify-rotate: skipping test: expensive: disabled by defa= ult This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check ' =2E/tail-2/inotify-rotate: skipping test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=3D77 + cleanup_ + : + cd /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests + chmod -R u+rwx /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/test= s/gt-inotify-rotate.1jE5 + rm -rf /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests/gt-ino= tify-rotate.1jE5 + exit 77 SKIP: chgrp/basic (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D =2E/init.sh: line 77: 1: Bad file number chgrp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/chgrp/basic: skipping test: requires membership in two groups this test requires that you be a member of more than one group, but running `id -G' either failed or found just one. If you really are a member of at least two groups, then rerun this test with COREUTILS_GROUPS set in your environment to the space-separated list of group names or numbers. E.g., env COREUTILS_GROUPS=3Dusers cdrom make check SKIP: rm/isatty (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D =2E/init.sh: line 77: 1: Bad file number rm (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/rm/isatty: skipping test: there is no /dev/stdin file SKIP: tail-2/assert (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number tail (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/tail-2/assert: skipping test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=3Dyes make check SKIP: rm/hash (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number rm (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/rm/hash: skipping test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check SKIP: rm/inaccessible (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number rm (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/rm/inaccessible: skipping test: this system lacks openat support SKIP: chgrp/default-no-deref (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number chgrp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/chgrp/default-no-deref: skipping test: requires membership in two groups this test requires that you be a member of more than one group, but running `id -G' either failed or found just one. If you really are a member of at least two groups, then rerun this test with COREUTILS_GROUPS set in your environment to the space-separated list of group names or numbers. E.g., env COREUTILS_GROUPS=3Dusers cdrom make check SKIP: chgrp/deref (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D =2E/init.sh: line 77: 1: Bad file number chgrp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/chgrp/deref: skipping test: requires membership in two groups this test requires that you be a member of more than one group, but running `id -G' either failed or found just one. If you really are a member of at least two groups, then rerun this test with COREUTILS_GROUPS set in your environment to the space-separated list of group names or numbers. E.g., env COREUTILS_GROUPS=3Dusers cdrom make check SKIP: chgrp/no-x (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D =2E/init.sh: line 77: 1: Bad file number chgrp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/chgrp/no-x: skipping test: requires membership in two groups this test requires that you be a member of more than one group, but running `id -G' either failed or found just one. If you really are a member of at least two groups, then rerun this test with COREUTILS_GROUPS set in your environment to the space-separated list of group names or numbers. E.g., env COREUTILS_GROUPS=3Dusers cdrom make check SKIP: chgrp/posix-H (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number chgrp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/chgrp/posix-H: skipping test: requires membership in two groups this test requires that you be a member of more than one group, but running `id -G' either failed or found just one. If you really are a member of at least two groups, then rerun this test with COREUTILS_GROUPS set in your environment to the space-separated list of group names or numbers. E.g., env COREUTILS_GROUPS=3Dusers cdrom make check SKIP: chgrp/recurse (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number chgrp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/chgrp/recurse: skipping test: requires membership in two groups this test requires that you be a member of more than one group, but running `id -G' either failed or found just one. If you really are a member of at least two groups, then rerun this test with COREUTILS_GROUPS set in your environment to the space-separated list of group names or numbers. E.g., env COREUTILS_GROUPS=3Dusers cdrom make check SKIP: misc/seq-long-double (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number seq (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Ulrich Drepper. cpp: "long.c", line 1: error 4036: Can't open include file 'features.h'. =2E/init.cfg: line 39: 9: Bad file number =2E/misc/seq-long-double: skipping test: this test runs only on systems wit= h glibc and long double !=3D double SKIP: tail-2/tail-n0f (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number tail (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/tail-2/tail-n0f: skipping test: /proc/22049/status: missing or 'differe= nt' SKIP: misc/arch (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D =2E/init.sh: line 77: 1: Bad file number env: arch: No such file or directory arch: not built =2E/init.cfg: line 39: 9: Bad file number =2E/misc/arch: skipping test: required program(s) not built SKIP: misc/pwd-unreadable-parent (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number pwd (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Jim Meyering. readlink (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Dmitry V. Levin. =2E/init.cfg: line 39: 9: Bad file number =2E/misc/pwd-unreadable-parent: skipping test: vendor getcwd may be inadequ= ate SKIP: misc/cat-proc (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number cat (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund and Richard M. Stallman. =2E/init.cfg: line 39: 9: Bad file number =2E/misc/cat-proc: skipping test: no /proc/cpuinfo SKIP: misc/id-context (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number id (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . 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. grep: can't open /proc/filesystems =2E/init.cfg: line 39: 9: Bad file number =2E/misc/id-context: skipping test: this system lacks SELinux support =46AIL: misc/printf-surprise (exit: 1) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number printf (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie. SKIP: misc/sort-benchmark-random (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number sort (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Haertel and Paul Eggert. =2E/init.cfg: line 39: 9: Bad file number =2E/misc/sort-benchmark-random: skipping test: very expensive: disabled by = default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=3Dyes make check SKIP: misc/sort-compress-hang (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number sort (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Haertel and Paul Eggert. =2E/init.cfg: line 39: 9: Bad file number =2E/misc/sort-compress-hang: skipping test: very expensive: disabled by def= ault This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=3Dyes make check SKIP: misc/sort-compress-proc (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number sort (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Haertel and Paul Eggert. =2E/init.cfg: line 39: 9: Bad file number =2E/misc/sort-compress-proc: skipping test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check SKIP: misc/sort-month (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number sort (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Haertel and Paul Eggert. =2E/init.cfg: line 39: 9: Bad file number =2E/misc/sort-month: skipping test: The locale utility is not present SKIP: misc/sort-stale-thread-mem (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number sort (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Haertel and Paul Eggert. =2E/init.cfg: line 39: 9: Bad file number =2E/misc/sort-stale-thread-mem: skipping test: very expensive: disabled by = default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=3Dyes make check SKIP: misc/stat-nanoseconds (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/misc/stat-nanoseconds[19]: print_ver_: not found. =2E/misc/stat-nanoseconds: line 19: print_ver_: command not found =2E/init.sh: line 77: 1: Bad file number =2E/init.sh: line 77: 1: Bad file number SKIP: misc/stdbuf (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D =2E/init.sh: line 77: 1: Bad file number env: stdbuf: No such file or directory mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. stdbuf: not built =2E/init.cfg: line 39: 9: Bad file number =2E/misc/stdbuf: skipping test: required program(s) not built SKIP: misc/su-fail (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number su (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie. su: not built =2E/init.cfg: line 39: 9: Bad file number =2E/misc/su-fail: skipping test: required program(s) not built SKIP: misc/tac-continue (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number tac (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Jay Lepreau and David MacKenzie. =2E/init.cfg: line 39: 9: Bad file number =2E/misc/tac-continue: skipping test: FULL_PARTITION_TMPDIR not defined SKIP: misc/tty-eof (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D tty-eof: this script requires Perl's Expect package >=3D1.11 SKIP: misc/xattr (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D =2E/init.sh: line 77: 1: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. install (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie. cp: cannot preserve extended attributes, cp is built without xattr support =2E/init.cfg: line 39: 9: Bad file number =2E/misc/xattr: skipping test: coreutils built without xattr support SKIP: cp/acl (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. env: getfacl: No such file or directory env: setfacl: No such file or directory =2E/init.cfg: line 39: 9: Bad file number =2E/cp/acl: skipping test: This test requires getfacl and setfacl. SKIP: cp/existing-perm-race (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/cp/existing-perm-race: skipping test: requires membership in two groups this test requires that you be a member of more than one group, but running `id -G' either failed or found just one. If you really are a member of at least two groups, then rerun this test with COREUTILS_GROUPS set in your environment to the space-separated list of group names or numbers. E.g., env COREUTILS_GROUPS=3Dusers cdrom make check SKIP: cp/fiemap-empty (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/cp/fiemap-empty: skipping test: disabled for now SKIP: cp/fiemap-perf (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 318: python: command not found =2E/init.sh: line 77: 1: Bad file number =2E/init.sh: line 77: 1: Bad file number SKIP: cp/fiemap-2 (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D =2E/init.sh: line 77: 1: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 318: python: command not found =2E/init.sh: line 77: 1: Bad file number =2E/init.sh: line 77: 1: Bad file number SKIP: cp/file-perm-race (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/cp/file-perm-race: skipping test: This test must be run on a local file= system. SKIP: cp/link-symlink (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. touch: setting times of `link': Function is not available =2E/init.cfg: line 39: 9: Bad file number =2E/cp/link-symlink: skipping test: Your system doesn't support updating sy= mlink timestamps SKIP: cp/parent-perm (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/cp/parent-perm: skipping test: This test must be run on a local file sy= stem. SKIP: cp/parent-perm-race (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/cp/parent-perm-race: skipping test: This test must be run on a local fi= le system. SKIP: cp/perm (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/cp/perm: skipping test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=3Dyes make check SKIP: cp/preserve-2 (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/cp/preserve-2: skipping test: This test must be run on a local file sys= tem. SKIP: cp/preserve-slink-time (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/cp/preserve-slink-time: skipping test: this system lacks the utimensat = function SKIP: cp/proc-short-read (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/cp/proc-short-read: skipping test: your system lacks /proc/kallsyms =46AIL: dd/nocache (exit: 1) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D =2E/init.sh: line 77: 1: Bad file number dd (coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, and Stuart Kemp. 0+0 records in 0+0 records out 0 bytes (0 B) copied, 2.6418e-05 s, 0.0 kB/s 0+0 records in 0+0 records out 0 bytes (0 B) copied, 2.0663e-05 s, 0.0 kB/s dd: failed to discard cache for: `standard input': Illegal seek 0+0 records in 0+0 records out 0 bytes (0 B) copied, 0.000307248 s, 0.0 kB/s dd: cannot combine direct and nocache 100+0 records in 100+0 records out 51200 bytes (51 kB) copied, 0.0132257 s, 3.9 MB/s 100+0 records in 100+0 records out 51200 bytes (51 kB) copied, 0.0120347 s, 4.3 MB/s dd: failed to discard cache for: `ofile': Not a typewriter 0+0 records in 0+0 records out 0 bytes (0 B) copied, 0.000330828 s, 0.0 kB/s 10+0 records in 10+0 records out 5120 bytes (5.1 kB) copied, 0.000124926 s, 41.0 MB/s 100+0 records in 100+0 records out 51200 bytes (51 kB) copied, 0.00767222 s, 6.7 MB/s SKIP: du/2g (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number du (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, Paul Eggert, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/du/2g: skipping test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=3Dyes make check SKIP: du/bigtime (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D =2E/init.sh: line 77: 1: Bad file number =2E/init.sh: line 77: 1: Bad file number SKIP: du/fd-leak (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D =2E/init.sh: line 77: 1: Bad file number du (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, Paul Eggert, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/du/fd-leak: skipping test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check =46AIL: du/inaccessible-cwd (exit: 1) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number du (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, Paul Eggert, and Jim Meyering. du: unable to record current working directory: Permission denied SKIP: du/long-from-unreadable (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number du (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, Paul Eggert, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/du/long-from-unreadable: skipping test: This test would fail, since you= r system lacks /proc support. SKIP: du/move-dir-while-traversing (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number du (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, Paul Eggert, and Jim Meyering. =2E/du/move-dir-while-traversing: line 23: python: command not found =2E/init.sh: line 77: 1: Bad file number SKIP: du/slink (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number du (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, Paul Eggert, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/du/slink: skipping test: This test must be run on a local file system. SKIP: id/no-context (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number id (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . 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. grep: can't open /proc/filesystems =2E/init.cfg: line 39: 9: Bad file number =2E/id/no-context: skipping test: this system lacks SELinux support SKIP: install/install-C-selinux (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number install (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie. grep: can't open /proc/filesystems =2E/init.cfg: line 39: 9: Bad file number =2E/install/install-C-selinux: skipping test: this system lacks SELinux sup= port SKIP: ls/no-cap (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D =2E/init.sh: line 77: 1: Bad file number ls (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Richard M. Stallman and David MacKenzie. =2E/init.cfg: line 39: 9: Bad file number =2E/ls/no-cap: skipping test: no strace program SKIP: ls/stat-dtype (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number ls (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Richard M. Stallman and David MacKenzie. =2E/init.cfg: line 39: 9: Bad file number =2E/ls/stat-dtype: skipping test: '.' is not on a suitable file system for = this test SKIP: ls/stat-free-symlinks (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number ls (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Richard M. Stallman and David MacKenzie. =2E/init.cfg: line 39: 9: Bad file number =2E/ls/stat-free-symlinks: skipping test: no strace program SKIP: mkdir/selinux (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number mkdir (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie. mkfifo (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie. mknod (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie. =2E/init.cfg: line 76: getenforce: command not found =2E/init.cfg: line 39: 9: Bad file number =2E/mkdir/selinux: skipping test: This test is useful only with SELinux in = Enforcing mode. SKIP: mv/acl (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. env: getfacl: No such file or directory env: setfacl: No such file or directory =2E/init.cfg: line 39: 9: Bad file number =2E/mv/acl: skipping test: This test requires getfacl and setfacl. SKIP: mv/atomic (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D =2E/init.sh: line 77: 1: Bad file number mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/mv/atomic: skipping test: no strace program SKIP: mv/atomic2 (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D =2E/init.sh: line 77: 1: Bad file number mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/mv/atomic2: skipping test: no strace program SKIP: mv/i-3 (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/mv/i-3: skipping test: there is no /dev/stdin file SKIP: mv/leak-fd (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D =2E/init.sh: line 77: 1: Bad file number mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. + expensive_ + test '' '!=3D' yes + skip_test_ 'expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check ' + echo './mv/leak-fd: skipping test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check ' + head -1 =2E/init.cfg: line 39: 9: Bad file number + echo './mv/leak-fd: skipping test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check ' =2E/mv/leak-fd: skipping test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=3D77 + cleanup_ + rm -rf /tmp/tmp8109 + cd /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests + chmod -R u+rwx /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/test= s/gt-leak-fd.zwEl + rm -rf /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests/gt-lea= k-fd.zwEl + exit 77 SKIP: mv/part-symlink (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. + require_local_dir_ + is_local_dir_ . + test 1 =3D 1 + df --local . + skip_test_ 'This test must be run on a local file system.' + echo './mv/part-symlink: skipping test: This test must be run on a local = file system.' + head -1 =2E/init.cfg: line 39: 9: Bad file number + echo './mv/part-symlink: skipping test: This test must be run on a local = file system.' =2E/mv/part-symlink: skipping test: This test must be run on a local file s= ystem. + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=3D77 + cleanup_ + rm -rf /tmp/tmp8733 + cd /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests + chmod -R u+rwx /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/test= s/gt-part-symlink.Ucz2 + rm -rf /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests/gt-par= t-symlink.Ucz2 + exit 77 SKIP: tail-2/assert-2 (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number tail (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/tail-2/assert-2: skipping test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=3Dyes make check SKIP: tail-2/big-4gb (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number tail (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/tail-2/big-4gb: skipping test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check SKIP: touch/no-dereference (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number touch (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, Arnold Robbins, Jim Kingdon, David MacKenzie, and Randy Smith. =2E/init.cfg: line 39: 9: Bad file number =2E/touch/no-dereference: skipping test: this system lacks the utimensat fu= nction SKIP: chown/basic (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D =2E/init.sh: line 77: 1: Bad file number chgrp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/chown/basic: skipping test: must be run as root SKIP: cp/cp-a-selinux (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/cp/cp-a-selinux: skipping test: must be run as root SKIP: cp/preserve-gid (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/cp/preserve-gid: skipping test: must be run as root SKIP: cp/special-bits (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/cp/special-bits: skipping test: must be run as root SKIP: cp/cp-mv-enotsup-xattr (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/cp/cp-mv-enotsup-xattr: skipping test: must be run as root SKIP: cp/capability (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number ls (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Richard M. Stallman and David MacKenzie. =2E/init.cfg: line 39: 9: Bad file number =2E/cp/capability: skipping test: must be run as root SKIP: cp/sparse-fiemap (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 318: python: command not found =2E/init.sh: line 77: 1: Bad file number =2E/init.cfg: line 39: 9: Bad file number =2E/cp/sparse-fiemap: skipping test: current file system has insufficient F= IEMAP support SKIP: dd/skip-seek-past-dev (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number dd (coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, and Stuart Kemp. =2E/init.cfg: line 39: 9: Bad file number =2E/dd/skip-seek-past-dev: skipping test: must be run as root SKIP: install/install-C-root (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number install (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie. =2E/init.cfg: line 39: 9: Bad file number =2E/install/install-C-root: skipping test: must be run as root SKIP: ls/capability (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number ls (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Richard M. Stallman and David MacKenzie. =2E/init.cfg: line 39: 9: Bad file number =2E/ls/capability: skipping test: must be run as root SKIP: ls/nameless-uid (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number ls (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Richard M. Stallman and David MacKenzie. =2E/init.cfg: line 39: 9: Bad file number =2E/ls/nameless-uid: skipping test: must be run as root SKIP: misc/chcon (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D =2E/init.sh: line 77: 1: Bad file number chcon (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Russell Coker and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/misc/chcon: skipping test: must be run as root SKIP: misc/chroot-credentials (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number chroot (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Roland McGrath. =2E/init.cfg: line 39: 9: Bad file number =2E/misc/chroot-credentials: skipping test: must be run as root SKIP: misc/selinux (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number chcon (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Russell Coker and Jim Meyering. cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. ls (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Richard M. Stallman and David MacKenzie. mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. stat (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Michael Meskes. =2E/init.cfg: line 39: 9: Bad file number =2E/misc/selinux: skipping test: must be run as root SKIP: misc/truncate-owned-by-other (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number truncate (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by P=C4draig Brady. =2E/init.cfg: line 39: 9: Bad file number =2E/misc/truncate-owned-by-other: skipping test: must be run as root SKIP: mkdir/writable-under-readonly (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number mkdir (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie. =2E/init.cfg: line 39: 9: Bad file number =2E/mkdir/writable-under-readonly: skipping test: must be run as root SKIP: mv/sticky-to-xpart (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/mv/sticky-to-xpart: skipping test: must be run as root SKIP: rm/fail-2eperm (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number rm (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/rm/fail-2eperm: skipping test: must be run as root SKIP: rm/no-give-up (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number rm (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/rm/no-give-up: skipping test: must be run as root SKIP: rm/one-file-system (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number rm (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/rm/one-file-system: skipping test: must be run as root SKIP: rm/read-only (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number rm (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/rm/read-only: skipping test: must be run as root SKIP: tail-2/append-only (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number tail (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/tail-2/append-only: skipping test: must be run as root SKIP: touch/now-owned-by-other (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 1: Bad file number touch (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, Arnold Robbins, Jim Kingdon, David MacKenzie, and Randy Smith. =2E/init.cfg: line 39: 9: Bad file number =2E/touch/now-owned-by-other: skipping test: must be run as root --Boundary-00=_wUd9NjXOLRsffCc-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 05:32:24 2011 Received: (at 8846) by debbugs.gnu.org; 13 Jun 2011 09:32:24 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QW3VQ-0001UG-GT for submit@debbugs.gnu.org; Mon, 13 Jun 2011 05:32:24 -0400 Received: from mail1.slb.deg.dub.stisp.net ([84.203.253.98]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QW3VO-0001U3-FA for 8846@debbugs.gnu.org; Mon, 13 Jun 2011 05:32:23 -0400 Received: (qmail 85282 invoked from network); 13 Jun 2011 09:32:16 -0000 Received: from unknown (HELO ?192.168.2.25?) (84.203.137.218) by mail1.slb.deg.dub.stisp.net with SMTP; 13 Jun 2011 09:32:16 -0000 Message-ID: <4DF5D848.7040304@draigBrady.com> Date: Mon, 13 Jun 2011 10:28:40 +0100 From: =?ISO-8859-1?Q?P=E1draig_Brady?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: Bruno Haible Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed References: <201106131115.28601.bruno@clisp.org> In-Reply-To: <201106131115.28601.bruno@clisp.org> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 8846 Cc: 8846@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) On 13/06/11 10:15, Bruno Haible wrote: > On HP-UX 11.31, built with cc, coreutils-8.12 gives 3 test suite failures: > > FAIL: misc/printf-surprise (exit: 1) > FAIL: dd/nocache (exit: 1) > FAIL: du/inaccessible-cwd (exit: 1) > > Find attached the log file. Re dd/nocache, I'm suspecting an incorrect match against the error message returned. It should skip the test for 'Operation not supported' Could you give the error returned for: dd if=/dev/zero of=ifile conv=fdatasync count=100 dd if=ifile iflag=nocache count=0 cheers, Pádraig. From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 05:55:28 2011 Received: (at 8846) by debbugs.gnu.org; 13 Jun 2011 09:55:28 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QW3rk-00023d-HF for submit@debbugs.gnu.org; Mon, 13 Jun 2011 05:55:28 -0400 Received: from mo-p00-ob.rzone.de ([81.169.146.160]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QW3rj-00023S-28 for 8846@debbugs.gnu.org; Mon, 13 Jun 2011 05:55:27 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1307958921; l=629; s=domk; d=haible.de; h=Content-Transfer-Encoding:Content-Type:MIME-Version:In-Reply-To: References:Cc:Date:Subject:To:From:X-RZG-CLASS-ID:X-RZG-AUTH; bh=Jq5XGRm4L6q/Ki51HAlqBDvO9zk=; b=rpHBQzyeEdG/1B9+TndFtosCemW9GydBwmnU0RZ8pS/ERFN7WOWov/2Dom1SVTD1Nm/ L0AH9Oyh7h5Kl9OWA0ZqHA8g0a/+7zRIbQoZ+ws/dK5j2n82j8kvT1T+4BVk8CZV/yZim WP67MMh2zvW3pWJr4/LrxLQ+w1Lh7vpgcC0= X-RZG-AUTH: :Ln4Re0+Ic/6oZXR1YgKryK8brksyK8dozXDwHXjf9hj/zDNRbP444xzQwQ== X-RZG-CLASS-ID: mo00 Received: from linuix.haible.de (dslb-088-068-058-108.pools.arcor-ip.net [88.68.58.108]) by post.strato.de (fruni mo21) (RZmta 25.18) with ESMTPA id 605b84n5D9Tdwg ; Mon, 13 Jun 2011 11:55:21 +0200 (MEST) From: Bruno Haible To: =?iso-8859-1?q?P=E1draig_Brady?= Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed Date: Mon, 13 Jun 2011 11:55:19 +0200 User-Agent: KMail/1.9.9 References: <201106131115.28601.bruno@clisp.org> <4DF5D848.7040304@draigBrady.com> In-Reply-To: <4DF5D848.7040304@draigBrady.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <201106131155.20177.bruno@clisp.org> X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 8846 Cc: 8846@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) P=E1draig Brady wrote: > Could you give the error returned for: >=20 > dd if=3D/dev/zero of=3Difile conv=3Dfdatasync count=3D100 > dd if=3Difile iflag=3Dnocache count=3D0 Here are the results: $ ./dd if=3D/dev/zero of=3Difile conv=3Dfdatasync count=3D100 100+0 records in 100+0 records out 51200 bytes (51 kB) copied, 0.14338 s, 357 kB/s $ ./dd if=3Difile iflag=3Dnocache count=3D0 =2E/dd: failed to discard cache for: `ifile': Not a typewriter 0+0 records in 0+0 records out 0 bytes (0 B) copied, 0.000375367 s, 0.0 kB/s Bruno =2D-=20 In memoriam Anna G=F6ldi From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 06:11:21 2011 Received: (at 8846) by debbugs.gnu.org; 13 Jun 2011 10:11:21 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QW476-0002QX-SN for submit@debbugs.gnu.org; Mon, 13 Jun 2011 06:11:21 -0400 Received: from mx.meyering.net ([82.230.74.64]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QW474-0002QE-F1 for 8846@debbugs.gnu.org; Mon, 13 Jun 2011 06:11:19 -0400 Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id A61786012A; Mon, 13 Jun 2011 12:11:10 +0200 (CEST) From: Jim Meyering To: Bruno Haible Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed In-Reply-To: <201106131115.28601.bruno@clisp.org> (Bruno Haible's message of "Mon, 13 Jun 2011 11:15:27 +0200") References: <201106131115.28601.bruno@clisp.org> Date: Mon, 13 Jun 2011 12:11:10 +0200 Message-ID: <87hb7ughxd.fsf@rho.meyering.net> Lines: 62 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: 8846 Cc: 8846@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.0 (------) Bruno Haible wrote: > On HP-UX 11.31, built with cc, coreutils-8.12 gives 3 test suite failures: > > FAIL: misc/printf-surprise (exit: 1) > FAIL: dd/nocache (exit: 1) > FAIL: du/inaccessible-cwd (exit: 1) > > Find attached the log file. > ... > FAIL: misc/printf-surprise (exit: 1) > ==================================== > > ./init.sh: line 77: 1: Bad file number > printf (GNU coreutils) 8.12 > Copyright (C) 2011 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later . > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. ... Hi Bruno Thank you for the testing and report. That "bad file number" error comes from this code in init.sh: : ${stderr_fileno_=2} warn_ () { echo "$@" 1>&$stderr_fileno_; } Because of that, the log contains less information than usual. If you can easily apply this patch and rerun the failing tests, I'd appreciate it. It should avoid the error and let us see more details about what is failing. >From 25e7bded3f2abff58540b0fcead2ba110d344bb0 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 13 Jun 2011 12:07:14 +0200 Subject: [PATCH] init.sh: accommodate shells for which 1>&$stderr_fileno_ fails * tests/init.sh (warn_): Use eval to work around a bug in some shells, like those of Solaris 10 and HP-UX 11.11. --- tests/init.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tests/init.sh b/tests/init.sh index 14f2e26..7a701f6 100644 --- a/tests/init.sh +++ b/tests/init.sh @@ -74,7 +74,7 @@ Exit () { set +e; (exit $1); exit $1; } # the reason for skip/failure to console, rather than to the .log files. : ${stderr_fileno_=2} -warn_ () { echo "$@" 1>&$stderr_fileno_; } +warn_ () { eval 'echo "'"$@"'" 1>&'"$stderr_fileno_"; } fail_ () { warn_ "$ME_: failed test: $@"; Exit 1; } skip_ () { warn_ "$ME_: skipped test: $@"; Exit 77; } framework_failure_ () { warn_ "$ME_: set-up failure: $@"; Exit 99; } -- 1.7.6.rc0.293.g40857 From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 06:30:41 2011 Received: (at submit) by debbugs.gnu.org; 13 Jun 2011 10:30:41 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QW4Po-0002yI-Mt for submit@debbugs.gnu.org; Mon, 13 Jun 2011 06:30:40 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QW4Pm-0002xw-UN for submit@debbugs.gnu.org; Mon, 13 Jun 2011 06:30:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QW4Pg-0001dr-Mq for submit@debbugs.gnu.org; Mon, 13 Jun 2011 06:30:33 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RFC_ABUSE_POST, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:55766) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QW4Pg-0001dn-LK for submit@debbugs.gnu.org; Mon, 13 Jun 2011 06:30:32 -0400 Received: from eggs.gnu.org ([140.186.70.92]:36959) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QW4Pf-00027B-Cu for bug-coreutils@gnu.org; Mon, 13 Jun 2011 06:30:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QW4Pd-0001dZ-UX for bug-coreutils@gnu.org; Mon, 13 Jun 2011 06:30:31 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:50263) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QW4Pd-0001dV-QI for bug-coreutils@gnu.org; Mon, 13 Jun 2011 06:30:29 -0400 Received: by wyf19 with SMTP id 19so3827929wyf.0 for ; Mon, 13 Jun 2011 03:30:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; bh=0QAc1dBu+7VezdyNVuLBqyEyOUajafNx20Nv4QaTZQM=; b=EuMJHinGo3hnQ+HfHokQL+XwqiXVIOHk8JJWssM8iPAmCbnowP7tG1eRu7XXfIF8jU eOM2BNnAdeDuRd6y5efLCY39U6Iv21TELSLVc8XY75A0fn8gbATMTSkmYNMgWdjbcvZE HR+HvTbmc8ZlVDS1rFKoxI8ofZoVleaS5rUKE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=ouFUWM1ZsFkHOwKk+B660DRajG5xOuaJeUK2ejAyM3QUivTJP5mSg5WzudbbexVMYS poVpjqZBH5qQqeqzf1aUD0AOTTyT8zGueO7F68cCb/UziJp8+O5TyKyTxABjuFUPFkxe VFKG3C5IxjmVhH/VzjZt7JC7VxteOk9mYAqGw= Received: by 10.216.177.4 with SMTP id c4mr2635929wem.3.1307961029151; Mon, 13 Jun 2011 03:30:29 -0700 (PDT) Received: from bigio.localnet (host155-99-dynamic.5-87-r.retail.telecomitalia.it [87.5.99.155]) by mx.google.com with ESMTPS id g4sm2796510weg.36.2011.06.13.03.30.26 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 13 Jun 2011 03:30:28 -0700 (PDT) From: Stefano Lattarini To: bug-coreutils@gnu.org Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed Date: Mon, 13 Jun 2011 12:30:17 +0200 User-Agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) References: <201106131115.28601.bruno@clisp.org> <87hb7ughxd.fsf@rho.meyering.net> In-Reply-To: <87hb7ughxd.fsf@rho.meyering.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201106131230.18659.stefano.lattarini@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.2 (-----) X-Debbugs-Envelope-To: submit Cc: 8846@debbugs.gnu.org, Bruno Haible , Jim Meyering X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.2 (-----) Hello Jim. Just a minor nit, since your fix will have to be ported to automake's `tests/defs' too ... On Monday 13 June 2011, Jim Meyering wrote: > Bruno Haible wrote: > > On HP-UX 11.31, built with cc, coreutils-8.12 gives 3 test suite failures: > > > > FAIL: misc/printf-surprise (exit: 1) > > FAIL: dd/nocache (exit: 1) > > FAIL: du/inaccessible-cwd (exit: 1) > > > > Find attached the log file. > > > ... > > FAIL: misc/printf-surprise (exit: 1) > > ==================================== > > > > ./init.sh: line 77: 1: Bad file number > > printf (GNU coreutils) 8.12 > > Copyright (C) 2011 Free Software Foundation, Inc. > > License GPLv3+: GNU GPL version 3 or later . > > This is free software: you are free to change and redistribute it. > > There is NO WARRANTY, to the extent permitted by law. > ... > > Hi Bruno > > Thank you for the testing and report. > That "bad file number" error comes from this code in init.sh: > > : ${stderr_fileno_=2} > warn_ () { echo "$@" 1>&$stderr_fileno_; } > > Because of that, the log contains less information than usual. > If you can easily apply this patch and rerun the failing tests, > I'd appreciate it. It should avoid the error and let us see > more details about what is failing. > > > From 25e7bded3f2abff58540b0fcead2ba110d344bb0 Mon Sep 17 00:00:00 2001 > From: Jim Meyering > Date: Mon, 13 Jun 2011 12:07:14 +0200 > Subject: [PATCH] init.sh: accommodate shells for which 1>&$stderr_fileno_ > fails > > * tests/init.sh (warn_): Use eval to work around a bug in some shells, > like those of Solaris 10 and HP-UX 11.11. > --- > tests/init.sh | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/tests/init.sh b/tests/init.sh > index 14f2e26..7a701f6 100644 > --- a/tests/init.sh > +++ b/tests/init.sh > @@ -74,7 +74,7 @@ Exit () { set +e; (exit $1); exit $1; } > # the reason for skip/failure to console, rather than to the .log files. > : ${stderr_fileno_=2} > > -warn_ () { echo "$@" 1>&$stderr_fileno_; } > +warn_ () { eval 'echo "'"$@"'" 1>&'"$stderr_fileno_"; } > Wouldn't it be simpler, and potentially more correct, to use simply: warn_ () { eval 'echo "$@" 1>&'"$stderr_fileno_"; } With your new implementation, I see this on Debian with bash and dash: $ stderr_fileno_=2; warn_ () { eval 'echo "'"$@"'" 1>&'"$stderr_fileno_"; } $ $ warn_ '$HOME' /home/stefano which is not intended behaviour IMHO. > fail_ () { warn_ "$ME_: failed test: $@"; Exit 1; } > skip_ () { warn_ "$ME_: skipped test: $@"; Exit 77; } > framework_failure_ () { warn_ "$ME_: set-up failure: $@"; Exit 99; } > -- > 1.7.6.rc0.293.g40857 > > Regards, Stefano From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 06:35:48 2011 Received: (at submit) by debbugs.gnu.org; 13 Jun 2011 10:35:48 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QW4Um-00036D-JA for submit@debbugs.gnu.org; Mon, 13 Jun 2011 06:35:48 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QW4Uk-000362-EF for submit@debbugs.gnu.org; Mon, 13 Jun 2011 06:35:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QW4Ue-0002e7-69 for submit@debbugs.gnu.org; Mon, 13 Jun 2011 06:35:41 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:40045) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QW4Ud-0002e3-UT for submit@debbugs.gnu.org; Mon, 13 Jun 2011 06:35:39 -0400 Received: from eggs.gnu.org ([140.186.70.92]:60205) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QW4Ub-0002tu-Qs for bug-coreutils@gnu.org; Mon, 13 Jun 2011 06:35:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QW4UY-0002dO-Uv for bug-coreutils@gnu.org; Mon, 13 Jun 2011 06:35:37 -0400 Received: from mx.meyering.net ([82.230.74.64]:35027) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QW4UY-0002dC-M3 for bug-coreutils@gnu.org; Mon, 13 Jun 2011 06:35:34 -0400 Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id E52CC60368; Mon, 13 Jun 2011 12:35:03 +0200 (CEST) From: Jim Meyering To: Stefano Lattarini Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed In-Reply-To: <201106131230.18659.stefano.lattarini@gmail.com> (Stefano Lattarini's message of "Mon, 13 Jun 2011 12:30:17 +0200") References: <201106131115.28601.bruno@clisp.org> <87hb7ughxd.fsf@rho.meyering.net> <201106131230.18659.stefano.lattarini@gmail.com> Date: Mon, 13 Jun 2011 12:35:03 +0200 Message-ID: <87zklmf294.fsf@rho.meyering.net> Lines: 33 MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: submit Cc: Bruno Haible , 8846@debbugs.gnu.org, bug-coreutils@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.0 (------) Stefano Lattarini wrote: > Hello Jim. > > Just a minor nit, since your fix will have to be ported to automake's > `tests/defs' too ... ... >> diff --git a/tests/init.sh b/tests/init.sh >> index 14f2e26..7a701f6 100644 >> --- a/tests/init.sh >> +++ b/tests/init.sh >> @@ -74,7 +74,7 @@ Exit () { set +e; (exit $1); exit $1; } >> # the reason for skip/failure to console, rather than to the .log files. >> : ${stderr_fileno_=2} >> >> -warn_ () { echo "$@" 1>&$stderr_fileno_; } >> +warn_ () { eval 'echo "'"$@"'" 1>&'"$stderr_fileno_"; } >> > Wouldn't it be simpler, and potentially more correct, to use simply: > > warn_ () { eval 'echo "$@" 1>&'"$stderr_fileno_"; } > > With your new implementation, I see this on Debian with bash and dash: > > $ stderr_fileno_=2; warn_ () { eval 'echo "'"$@"'" 1>&'"$stderr_fileno_"; } > $ $ warn_ '$HOME' > /home/stefano > > which is not intended behaviour IMHO. Hah! Thank you for the prompt fix. That's more than a minor nit ;-) I'm glad you caught my error. From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 06:46:54 2011 Received: (at submit) by debbugs.gnu.org; 13 Jun 2011 10:46:54 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QW4fV-0003Og-KT for submit@debbugs.gnu.org; Mon, 13 Jun 2011 06:46:54 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QW4fT-0003OJ-VL for submit@debbugs.gnu.org; Mon, 13 Jun 2011 06:46:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QW4fN-0004PV-Pt for submit@debbugs.gnu.org; Mon, 13 Jun 2011 06:46:46 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:50472) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QW4fN-0004PR-NF for submit@debbugs.gnu.org; Mon, 13 Jun 2011 06:46:45 -0400 Received: from eggs.gnu.org ([140.186.70.92]:33774) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QW4fM-0004JS-53 for bug-coreutils@gnu.org; Mon, 13 Jun 2011 06:46:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QW4fL-0004PD-1e for bug-coreutils@gnu.org; Mon, 13 Jun 2011 06:46:44 -0400 Received: from mx.meyering.net ([82.230.74.64]:57621) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QW4fK-0004P6-PZ for bug-coreutils@gnu.org; Mon, 13 Jun 2011 06:46:43 -0400 Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id C4049602F7; Mon, 13 Jun 2011 12:46:41 +0200 (CEST) From: Jim Meyering To: Stefano Lattarini Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed In-Reply-To: <201106131230.18659.stefano.lattarini@gmail.com> (Stefano Lattarini's message of "Mon, 13 Jun 2011 12:30:17 +0200") References: <201106131115.28601.bruno@clisp.org> <87hb7ughxd.fsf@rho.meyering.net> <201106131230.18659.stefano.lattarini@gmail.com> Date: Mon, 13 Jun 2011 12:46:41 +0200 Message-ID: <87tybuf1pq.fsf@rho.meyering.net> Lines: 46 MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: submit Cc: Bruno Haible , 8846@debbugs.gnu.org, bug-coreutils@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.0 (------) Stefano Lattarini wrote: > Hello Jim. ... > Wouldn't it be simpler, and potentially more correct, to use simply: > > warn_ () { eval 'echo "$@" 1>&'"$stderr_fileno_"; } > > With your new implementation, I see this on Debian with bash and dash: > > $ stderr_fileno_=2; warn_ () { eval 'echo "'"$@"'" 1>&'"$stderr_fileno_"; } > $ $ warn_ '$HOME' > /home/stefano > > which is not intended behaviour IMHO. Thanks again. Here's what I've just pushed. I'll do the same for gnulib shortly. >From 6fb9aeedd1b858a61d5cbf7f15782adf29ff733a Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 13 Jun 2011 12:07:14 +0200 Subject: [PATCH] init.sh: accommodate shells for which 1>&$stderr_fileno_ fails * tests/init.sh (warn_): Use eval to work around a bug in some shells, like those of Solaris 10 and HP-UX 11.11. Improved by Stefano Lattarini. --- tests/init.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tests/init.sh b/tests/init.sh index 14f2e26..25850af 100644 --- a/tests/init.sh +++ b/tests/init.sh @@ -74,7 +74,7 @@ Exit () { set +e; (exit $1); exit $1; } # the reason for skip/failure to console, rather than to the .log files. : ${stderr_fileno_=2} -warn_ () { echo "$@" 1>&$stderr_fileno_; } +warn_ () { eval 'echo "$@" 1>&'"$stderr_fileno_"; } fail_ () { warn_ "$ME_: failed test: $@"; Exit 1; } skip_ () { warn_ "$ME_: skipped test: $@"; Exit 77; } framework_failure_ () { warn_ "$ME_: set-up failure: $@"; Exit 99; } -- 1.7.6.rc0.293.g40857 From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 06:53:42 2011 Received: (at 8846) by debbugs.gnu.org; 13 Jun 2011 10:53:42 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QW4m5-0003Z5-Oq for submit@debbugs.gnu.org; Mon, 13 Jun 2011 06:53:42 -0400 Received: from mail1.slb.deg.dub.stisp.net ([84.203.253.98]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QW4m4-0003Ys-5A for 8846@debbugs.gnu.org; Mon, 13 Jun 2011 06:53:40 -0400 Received: (qmail 99910 invoked from network); 13 Jun 2011 10:53:32 -0000 Received: from unknown (HELO ?192.168.2.25?) (84.203.137.218) by mail1.slb.deg.dub.stisp.net with SMTP; 13 Jun 2011 10:53:32 -0000 Message-ID: <4DF5EB54.7030803@draigBrady.com> Date: Mon, 13 Jun 2011 11:49:56 +0100 From: =?ISO-8859-1?Q?P=E1draig_Brady?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: Bruno Haible Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed References: <201106131115.28601.bruno@clisp.org> <4DF5D848.7040304@draigBrady.com> <201106131155.20177.bruno@clisp.org> In-Reply-To: <201106131155.20177.bruno@clisp.org> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 8846 Cc: 8846@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) On 13/06/11 10:55, Bruno Haible wrote: > Pádraig Brady wrote: >> Could you give the error returned for: >> >> dd if=/dev/zero of=ifile conv=fdatasync count=100 >> dd if=ifile iflag=nocache count=0 > > Here are the results: > > $ ./dd if=/dev/zero of=ifile conv=fdatasync count=100 > 100+0 records in > 100+0 records out > 51200 bytes (51 kB) copied, 0.14338 s, 357 kB/s > $ ./dd if=ifile iflag=nocache count=0 > ./dd: failed to discard cache for: `ifile': Not a typewriter Weird. I've relaxed the test with the following. cheers, Pádraig. --- a/tests/dd/nocache +++ b/tests/dd/nocache @@ -36,12 +36,12 @@ done # Advise to drop cache for whole file if ! dd if=ifile iflag=nocache count=0 2>err; then - if grep -F 'Operation not supported' err >/dev/null; then - warn_ 'skipping part; this file system lacks support for posix_fadvise()' - skip=1 - else - fail=1 - fi + # We could check for 'Operation not supported' in err here, + # but that was seen to be brittle. HPUX returns ENOTTY for example. + # So assume that if this basic operation fails, it's due to lack + # of support by the system. + warn_ 'skipping part; this file system lacks support for posix_fadvise()' + skip=1 fi if test "$skip" != 1; then From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 07:03:43 2011 Received: (at submit) by debbugs.gnu.org; 13 Jun 2011 11:03:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QW4vm-0003nu-VZ for submit@debbugs.gnu.org; Mon, 13 Jun 2011 07:03:43 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QW4vl-0003na-Cw for submit@debbugs.gnu.org; Mon, 13 Jun 2011 07:03:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QW4vf-0007QJ-F6 for submit@debbugs.gnu.org; Mon, 13 Jun 2011 07:03:36 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:43261) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QW4vf-0007QF-Dh for submit@debbugs.gnu.org; Mon, 13 Jun 2011 07:03:35 -0400 Received: from eggs.gnu.org ([140.186.70.92]:32885) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QW4ve-0005i0-3o for bug-coreutils@gnu.org; Mon, 13 Jun 2011 07:03:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QW4vc-0007Q3-1Q for bug-coreutils@gnu.org; Mon, 13 Jun 2011 07:03:34 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:53229) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QW4vb-0007Py-R8 for bug-coreutils@gnu.org; Mon, 13 Jun 2011 07:03:32 -0400 Received: by wyf19 with SMTP id 19so3849944wyf.0 for ; Mon, 13 Jun 2011 04:03:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; bh=xI3BOVRYfWQYgxbSF/5Dx5uJByqTBD8YQQWEnV05ue0=; b=pNYjfLuKCUoJd1a778aOGxSmaN1Nbh7bFTitqPY06wcyvzqpZcbPBAZcvInF2NlZs4 uCmd9okzjdummQxsVowKR96fkAkXewjHXxpGc+nR13s0UGURLeND4DEpReCybYqd95+K L79r6PxZp/SkcZBQS54uuCjbFyyJ5Hk27Idbs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=N26mF46I8xsqZaxopVJTR2ciZUdPwpqgv2BwLX/8ALQYk/Z7Ory2Idawdehg3Kp8pS 9Ok/jGVJ4o9ja1qvapk51dSvOeLjSz9Dv5fpQqDYlbrmsyVI2mYBnLWPyyvhXmC26YmU mondWF2vatXn7+RpVCYUwFEouM+ci1dPysbhs= Received: by 10.216.230.76 with SMTP id i54mr4783525weq.108.1307963011010; Mon, 13 Jun 2011 04:03:31 -0700 (PDT) Received: from bigio.localnet (host155-99-dynamic.5-87-r.retail.telecomitalia.it [87.5.99.155]) by mx.google.com with ESMTPS id b70sm2812699wek.44.2011.06.13.04.03.28 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 13 Jun 2011 04:03:29 -0700 (PDT) From: Stefano Lattarini To: Jim Meyering Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed Date: Mon, 13 Jun 2011 13:03:19 +0200 User-Agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) References: <201106131115.28601.bruno@clisp.org> <201106131230.18659.stefano.lattarini@gmail.com> <87tybuf1pq.fsf@rho.meyering.net> In-Reply-To: <87tybuf1pq.fsf@rho.meyering.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201106131303.20243.stefano.lattarini@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.2 (-----) X-Debbugs-Envelope-To: submit Cc: Bruno Haible , 8846@debbugs.gnu.org, bug-coreutils@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.3 (-----) On Monday 13 June 2011, Jim Meyering wrote: > Stefano Lattarini wrote: > > Hello Jim. > ... > > Wouldn't it be simpler, and potentially more correct, to use simply: > > > > warn_ () { eval 'echo "$@" 1>&'"$stderr_fileno_"; } > > > > With your new implementation, I see this on Debian with bash and dash: > > > > $ stderr_fileno_=2; warn_ () { eval 'echo "'"$@"'" 1>&'"$stderr_fileno_"; } > > $ $ warn_ '$HOME' > > /home/stefano > > > > which is not intended behaviour IMHO. > > Thanks again. Here's what I've just pushed. > I'll do the same for gnulib shortly. > > From 6fb9aeedd1b858a61d5cbf7f15782adf29ff733a Mon Sep 17 00:00:00 2001 > From: Jim Meyering > Date: Mon, 13 Jun 2011 12:07:14 +0200 > Subject: [PATCH] init.sh: accommodate shells for which 1>&$stderr_fileno_ > fails > > * tests/init.sh (warn_): Use eval to work around a bug in some shells, > like those of Solaris 10 and HP-UX 11.11. > Improved by Stefano Lattarini. > --- > tests/init.sh | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/tests/init.sh b/tests/init.sh > index 14f2e26..25850af 100644 > --- a/tests/init.sh > +++ b/tests/init.sh > @@ -74,7 +74,7 @@ Exit () { set +e; (exit $1); exit $1; } > # the reason for skip/failure to console, rather than to the .log files. > : ${stderr_fileno_=2} > > -warn_ () { echo "$@" 1>&$stderr_fileno_; } > +warn_ () { eval 'echo "$@" 1>&'"$stderr_fileno_"; } > fail_ () { warn_ "$ME_: failed test: $@"; Exit 1; } > skip_ () { warn_ "$ME_: skipped test: $@"; Exit 77; } > framework_failure_ () { warn_ "$ME_: set-up failure: $@"; Exit 99; } > -- > 1.7.6.rc0.293.g40857 > Thanks. I'll port this to automake tests/defs soonish; I assume you are ok to be credited as lead author in ChangeLog and git commit, right? Regards, Stefano From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 08:07:58 2011 Received: (at 8846) by debbugs.gnu.org; 13 Jun 2011 12:07:58 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QW5vv-00065O-Ng for submit@debbugs.gnu.org; Mon, 13 Jun 2011 08:07:58 -0400 Received: from mo-p00-ob.rzone.de ([81.169.146.161]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QW5vp-000657-A9 for 8846@debbugs.gnu.org; Mon, 13 Jun 2011 08:07:53 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1307966862; l=84635; s=domk; d=haible.de; h=Content-Type:MIME-Version:In-Reply-To:References:Cc:Date:Subject:To: From:X-RZG-CLASS-ID:X-RZG-AUTH; bh=UAKVoJeasCbFW/eE4fm6cIUMwik=; b=UwF9ZAo6fCkL6+cE7xKVjIBfifXt85p4j1snCz33sutbXuLRYqcnDEk4yKKk9Tp8WgT wwC256bFO3eft1DtQVGrucv0Lf/xWvfq2cR/w764R5xnyL/S/95gZkX3Ontqsz+WOFnwS y8xuBljNO7yv9qM4x9RG5cPlqGEF+lYpMpI= X-RZG-AUTH: :Ln4Re0+Ic/6oZXR1YgKryK8brksyK8dozXDwHXjf9hj/zDNRbP444xzQwQ== X-RZG-CLASS-ID: mo00 Received: from linuix.haible.de (dslb-088-068-058-108.pools.arcor-ip.net [88.68.58.108]) by post.strato.de (jimi mo41) (RZmta 25.18) with ESMTPA id i01838n5DAdDH6 ; Mon, 13 Jun 2011 14:07:40 +0200 (MEST) From: Bruno Haible To: Jim Meyering Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed Date: Mon, 13 Jun 2011 14:07:38 +0200 User-Agent: KMail/1.9.9 References: <201106131115.28601.bruno@clisp.org> <201106131230.18659.stefano.lattarini@gmail.com> <87tybuf1pq.fsf@rho.meyering.net> In-Reply-To: <87tybuf1pq.fsf@rho.meyering.net> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_L2f9NWbjgSjdRDx" Message-Id: <201106131407.39334.bruno@clisp.org> X-Debbugs-Envelope-To: 8846 Cc: bug-coreutils@gnu.org, 8846@debbugs.gnu.org, Stefano Lattarini X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org --Boundary-00=_L2f9NWbjgSjdRDx Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Jim Meyering wrote: > --- a/tests/init.sh > +++ b/tests/init.sh > @@ -74,7 +74,7 @@ Exit () { set +e; (exit $1); exit $1; } > =C2=A0# the reason for skip/failure to console, rather than to the .log f= iles. > =C2=A0: ${stderr_fileno_=3D2} >=20 > -warn_ () { echo "$@" 1>&$stderr_fileno_; } > +warn_ () { eval 'echo "$@" 1>&'"$stderr_fileno_"; } > =C2=A0fail_ () { warn_ "$ME_: failed test: $@"; Exit 1; } > =C2=A0skip_ () { warn_ "$ME_: skipped test: $@"; Exit 77; } > =C2=A0framework_failure_ () { warn_ "$ME_: set-up failure: $@"; Exit 99; } After applying this patch, here's the test-suite.log that I now get. =2D-=20 In memoriam Anna G=C3=B6ldi --Boundary-00=_L2f9NWbjgSjdRDx Content-Type: text/x-log; charset="iso 8859-15"; name="test-suite.log" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="test-suite.log" =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D GNU coreutils 8.12: tests/test-suite.log =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 3 of 365 tests failed. (88 tests were not run). =20 =2E. contents:: :depth: 2 SKIP: tail-2/inotify-race (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number tail (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/tail-2/inotify-race: skipping test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=3Dyes make check SKIP: rm/ext3-perf (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number rm (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/rm/ext3-perf: skipping test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=3Dyes make check SKIP: cp/link-heap (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/cp/link-heap: skipping test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check SKIP: tail-2/inotify-rotate (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + tail --version tail (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering. + . ./init.sh + + expr ././tail-2/inotify-rotate : .*/\(.*\)$ ME_=3Dinotify-rotate + : 2 + DUALCASE=3D1 + export DUALCASE + test -n=20 + 2> /dev/null + gl_shell_test_script_=3D test $(echo y) =3D y || exit 1 score_=3D10 if test "$VERBOSE" =3D yes; then test -n "$( (exec 3>&1; set -x; P=3D1 true 2>&3) 2> /dev/null)" && score_= =3D9 fi test -z "$EXEEXT" && exit $score_ shopt -s expand_aliases alias a-b=3D"echo zoo" v=3Dabx test ${v%x} =3D ab \ && test ${v#a} =3D bx \ && test $(a-b) =3D zoo \ && exit $score_ + test x =3D x--no-reexec + gl_set_x_corrupts_stderr_=3Dfalse + export gl_set_x_corrupts_stderr_ + marginal_=3D + test __current__ =3D no_shell + test __current__ =3D fail + test __current__ =3D __current__ + 1> /dev/null 2>& 1 + st_=3D9 + test 9 =3D 10 + test 9: =3D 9: + marginal_=3D__current__ + gl_set_x_corrupts_stderr_=3Dtrue + test no_shell =3D no_shell + continue + test /bin/sh =3D no_shell + test /bin/sh =3D fail + test /bin/sh =3D __current__ + /bin/sh -c=20 test $(echo y) =3D y || exit 1 score_=3D10 if test "$VERBOSE" =3D yes; then test -n "$( (exec 3>&1; set -x; P=3D1 true 2>&3) 2> /dev/null)" && score_= =3D9 fi test -z "$EXEEXT" && exit $score_ shopt -s expand_aliases alias a-b=3D"echo zoo" v=3Dabx test ${v%x} =3D ab \ && test ${v#a} =3D bx \ && test $(a-b) =3D zoo \ && exit $score_ + 2> /dev/null + st_=3D9 + test 9 =3D 10 + test 9:__current__ =3D 9: + test bash =3D no_shell + test bash =3D fail + test bash =3D __current__ + bash -c=20 test $(echo y) =3D y || exit 1 score_=3D10 if test "$VERBOSE" =3D yes; then test -n "$( (exec 3>&1; set -x; P=3D1 true 2>&3) 2> /dev/null)" && score_= =3D9 fi test -z "$EXEEXT" && exit $score_ shopt -s expand_aliases alias a-b=3D"echo zoo" v=3Dabx test ${v%x} =3D ab \ && test ${v#a} =3D bx \ && test $(a-b) =3D zoo \ && exit $score_ + 2> /dev/null + st_=3D10 + test 10 =3D 10 + break + test bash !=3D __current__ + opts_=3D-x + exec bash -x ./tail-2/inotify-rotate --no-reexec + test yes =3D yes + set -x + tail --version tail (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering. + . ./init.sh +++ expr ././tail-2/inotify-rotate : '.*/\(.*\)$' ++ ME_=3Dinotify-rotate ++ : 2 ++ DUALCASE=3D1 ++ export DUALCASE ++ test -n '' ++ case `(set -o) 2>/dev/null` in ++ set -o posix ++ gl_shell_test_script_=3D' test $(echo y) =3D y || exit 1 score_=3D10 if test "$VERBOSE" =3D yes; then test -n "$( (exec 3>&1; set -x; P=3D1 true 2>&3) 2> /dev/null)" && score_= =3D9 fi test -z "$EXEEXT" && exit $score_ shopt -s expand_aliases alias a-b=3D"echo zoo" v=3Dabx test ${v%x} =3D ab \ && test ${v#a} =3D bx \ && test $(a-b) =3D zoo \ && exit $score_ ' ++ test x--no-reexec =3D x--no-reexec ++ shift ++ test -n '' ++ : 87 ++ export MALLOC_PERTURB_ ++ test -f ./init.cfg ++ . ./init.cfg +++ stderr_fileno_=3D9 +++ sanitize_path_ +++ local 'saved_IFS=3D =09 ' +++ IFS=3D: +++ set -- /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src /opt/l= angtools/bin /home/haible/bin /opt/fsw/bin /opt/tww/bin /opt/aCC/bin /opt/a= nsic/bin /bin /usr/bin /sbin /usr/sbin /usr/bin/X11 /usr/ccs/bin /usr/contr= ib/bin/X11 /usr/vue/bin /opt/imake/bin +++ IFS=3D' =09 ' +++ local d d1 +++ local colon=3D +++ local new_path=3D +++ for d in '"$@"' +++ test -z /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src +++ d1=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src +++ ls -d /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src +++ colon=3D: +++ for d in '"$@"' +++ test -z /opt/langtools/bin +++ d1=3D/opt/langtools/bin +++ ls -d /opt/langtools/bin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin +++ colon=3D: +++ for d in '"$@"' +++ test -z /home/haible/bin +++ d1=3D/home/haible/bin +++ ls -d /home/haible/bin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin +++ colon=3D: +++ for d in '"$@"' +++ test -z /opt/fsw/bin +++ d1=3D/opt/fsw/bin +++ ls -d /opt/fsw/bin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin +++ colon=3D: +++ for d in '"$@"' +++ test -z /opt/tww/bin +++ d1=3D/opt/tww/bin +++ ls -d /opt/tww/bin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin +++ colon=3D: +++ for d in '"$@"' +++ test -z /opt/aCC/bin +++ d1=3D/opt/aCC/bin +++ ls -d /opt/aCC/bin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin +++ colon=3D: +++ for d in '"$@"' +++ test -z /opt/ansic/bin +++ d1=3D/opt/ansic/bin +++ ls -d /opt/ansic/bin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/o= pt/ansic/bin +++ colon=3D: +++ for d in '"$@"' +++ test -z /bin +++ d1=3D/bin +++ ls -d /bin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/o= pt/ansic/bin:/bin +++ colon=3D: +++ for d in '"$@"' +++ test -z /usr/bin +++ d1=3D/usr/bin +++ ls -d /usr/bin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/o= pt/ansic/bin:/bin:/usr/bin +++ colon=3D: +++ for d in '"$@"' +++ test -z /sbin +++ d1=3D/sbin +++ ls -d /sbin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/o= pt/ansic/bin:/bin:/usr/bin:/sbin +++ colon=3D: +++ for d in '"$@"' +++ test -z /usr/sbin +++ d1=3D/usr/sbin +++ ls -d /usr/sbin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/o= pt/ansic/bin:/bin:/usr/bin:/sbin:/usr/sbin +++ colon=3D: +++ for d in '"$@"' +++ test -z /usr/bin/X11 +++ d1=3D/usr/bin/X11 +++ ls -d /usr/bin/X11/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/o= pt/ansic/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/X11 +++ colon=3D: +++ for d in '"$@"' +++ test -z /usr/ccs/bin +++ d1=3D/usr/ccs/bin +++ ls -d /usr/ccs/bin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/o= pt/ansic/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/X11:/usr/ccs/bin +++ colon=3D: +++ for d in '"$@"' +++ test -z /usr/contrib/bin/X11 +++ d1=3D/usr/contrib/bin/X11 +++ ls -d /usr/contrib/bin/X11/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/o= pt/ansic/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/X11:/usr/ccs/bin:/usr/c= ontrib/bin/X11 +++ colon=3D: +++ for d in '"$@"' +++ test -z /usr/vue/bin +++ d1=3D/usr/vue/bin +++ ls -d /usr/vue/bin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/o= pt/ansic/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/X11:/usr/ccs/bin:/usr/c= ontrib/bin/X11:/usr/vue/bin +++ colon=3D: +++ for d in '"$@"' +++ test -z /opt/imake/bin +++ d1=3D/opt/imake/bin +++ ls -d /opt/imake/bin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/o= pt/ansic/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/X11:/usr/ccs/bin:/usr/c= ontrib/bin/X11:/usr/vue/bin:/opt/imake/bin +++ colon=3D: +++ PATH=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/opt/l= angtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/opt/a= nsic/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/X11:/usr/ccs/bin:/usr/contr= ib/bin/X11:/usr/vue/bin:/opt/imake/bin +++ export PATH ++ setup_ ++ test yes =3D yes ++ true ++ warn_ 'using SHELL=3D/bin/sh with '\''set -x'\'' corrupts stderr' ++ eval 'echo "$@" 1>&9' +++ echo 'using SHELL=3D/bin/sh with '\''set -x'\'' corrupts stderr' =2E/init.sh: line 77: 9: Bad file number ++ initial_cwd_=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tes= ts ++ fail=3D0 +++ testdir_prefix_ +++ printf gt ++ pfx_=3Dgt +++ mktempd_ /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests gt= =2Dinotify-rotate.XXXX +++ case $# in +++ destdir_=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests +++ template_=3Dgt-inotify-rotate.XXXX +++ MAX_TRIES_=3D4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/= tests gt-inotify-rotate.XXXX +++ d=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests/gt-inot= ify-rotate.5SDO +++ case $d in +++ test -d /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests/gt-= inotify-rotate.5SDO ++++ ls -dgo /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests/gt= =2Dinotify-rotate.5SDO ++++ tr S - +++ perms=3D'drwx------ 2 2 Jun 13 11:50 /home/haible/multibuild-1080/hpux1= 1.31/coreutils-8.12/tests/gt-inotify-rotate.5-DO' +++ case $perms in +++ test 0 =3D 0 +++ echo /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests/gt-ino= tify-rotate.5SDO +++ return ++ test_dir_=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests/= gt-inotify-rotate.5SDO ++ cd /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests/gt-inotif= y-rotate.5SDO ++ gl_init_sh_nl_=3D' ' ++ IFS=3D' =09 ' ++ 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 '!=3D' 0 + path_dir_=3D../src + case $path_dir_ in ++ cd /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests/../src ++ echo /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src + abs_path_dir_=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src + case $abs_path_dir_ in + PATH=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/home/ha= ible/multibuild-1080/hpux11.31/coreutils-8.12/src:/opt/langtools/bin:/home/= haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/opt/ansic/bin:/bin:/usr/= bin:/sbin:/usr/sbin:/usr/bin/X11:/usr/ccs/bin:/usr/contrib/bin/X11:/usr/vue= /bin:/opt/imake/bin + create_exe_shims_ /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/s= rc + case $EXEEXT in + return 0 + shift + test 0 '!=3D' 0 + export PATH + expensive_ + test '' '!=3D' yes + skip_test_ 'expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check ' + echo './tail-2/inotify-rotate: skipping test: expensive: disabled by defa= ult This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check ' + head -1 =2E/init.cfg: line 39: 9: Bad file number + echo './tail-2/inotify-rotate: skipping test: expensive: disabled by defa= ult This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check ' =2E/tail-2/inotify-rotate: skipping test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=3D77 + cleanup_ + : + cd /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests + chmod -R u+rwx /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/test= s/gt-inotify-rotate.5SDO + rm -rf /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests/gt-ino= tify-rotate.5SDO + exit 77 SKIP: chgrp/basic (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D =2E/init.sh: line 77: 9: Bad file number chgrp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/chgrp/basic: skipping test: requires membership in two groups this test requires that you be a member of more than one group, but running `id -G' either failed or found just one. If you really are a member of at least two groups, then rerun this test with COREUTILS_GROUPS set in your environment to the space-separated list of group names or numbers. E.g., env COREUTILS_GROUPS=3Dusers cdrom make check SKIP: rm/isatty (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D =2E/init.sh: line 77: 9: Bad file number rm (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/rm/isatty: skipping test: there is no /dev/stdin file SKIP: tail-2/assert (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number tail (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/tail-2/assert: skipping test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=3Dyes make check SKIP: rm/hash (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number rm (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/rm/hash: skipping test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check SKIP: rm/inaccessible (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number rm (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/rm/inaccessible: skipping test: this system lacks openat support SKIP: chgrp/default-no-deref (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number chgrp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/chgrp/default-no-deref: skipping test: requires membership in two groups this test requires that you be a member of more than one group, but running `id -G' either failed or found just one. If you really are a member of at least two groups, then rerun this test with COREUTILS_GROUPS set in your environment to the space-separated list of group names or numbers. E.g., env COREUTILS_GROUPS=3Dusers cdrom make check SKIP: chgrp/deref (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D =2E/init.sh: line 77: 9: Bad file number chgrp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/chgrp/deref: skipping test: requires membership in two groups this test requires that you be a member of more than one group, but running `id -G' either failed or found just one. If you really are a member of at least two groups, then rerun this test with COREUTILS_GROUPS set in your environment to the space-separated list of group names or numbers. E.g., env COREUTILS_GROUPS=3Dusers cdrom make check SKIP: chgrp/no-x (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D =2E/init.sh: line 77: 9: Bad file number chgrp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/chgrp/no-x: skipping test: requires membership in two groups this test requires that you be a member of more than one group, but running `id -G' either failed or found just one. If you really are a member of at least two groups, then rerun this test with COREUTILS_GROUPS set in your environment to the space-separated list of group names or numbers. E.g., env COREUTILS_GROUPS=3Dusers cdrom make check SKIP: chgrp/posix-H (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number chgrp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/chgrp/posix-H: skipping test: requires membership in two groups this test requires that you be a member of more than one group, but running `id -G' either failed or found just one. If you really are a member of at least two groups, then rerun this test with COREUTILS_GROUPS set in your environment to the space-separated list of group names or numbers. E.g., env COREUTILS_GROUPS=3Dusers cdrom make check SKIP: chgrp/recurse (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number chgrp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/chgrp/recurse: skipping test: requires membership in two groups this test requires that you be a member of more than one group, but running `id -G' either failed or found just one. If you really are a member of at least two groups, then rerun this test with COREUTILS_GROUPS set in your environment to the space-separated list of group names or numbers. E.g., env COREUTILS_GROUPS=3Dusers cdrom make check SKIP: misc/seq-long-double (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number seq (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Ulrich Drepper. cpp: "long.c", line 1: error 4036: Can't open include file 'features.h'. =2E/init.cfg: line 39: 9: Bad file number =2E/misc/seq-long-double: skipping test: this test runs only on systems wit= h glibc and long double !=3D double SKIP: tail-2/tail-n0f (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number tail (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/tail-2/tail-n0f: skipping test: /proc/15265/status: missing or 'differe= nt' SKIP: misc/arch (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D =2E/init.sh: line 77: 9: Bad file number env: arch: No such file or directory arch: not built =2E/init.cfg: line 39: 9: Bad file number =2E/misc/arch: skipping test: required program(s) not built SKIP: misc/pwd-unreadable-parent (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number pwd (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Jim Meyering. readlink (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Dmitry V. Levin. =2E/init.cfg: line 39: 9: Bad file number =2E/misc/pwd-unreadable-parent: skipping test: vendor getcwd may be inadequ= ate SKIP: misc/cat-proc (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number cat (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund and Richard M. Stallman. =2E/init.cfg: line 39: 9: Bad file number =2E/misc/cat-proc: skipping test: no /proc/cpuinfo SKIP: misc/id-context (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number id (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . 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. grep: can't open /proc/filesystems =2E/init.cfg: line 39: 9: Bad file number =2E/misc/id-context: skipping test: this system lacks SELinux support =46AIL: misc/printf-surprise (exit: 1) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number printf (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie. SKIP: misc/sort-benchmark-random (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number sort (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Haertel and Paul Eggert. =2E/init.cfg: line 39: 9: Bad file number =2E/misc/sort-benchmark-random: skipping test: very expensive: disabled by = default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=3Dyes make check SKIP: misc/sort-compress-hang (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number sort (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Haertel and Paul Eggert. =2E/init.cfg: line 39: 9: Bad file number =2E/misc/sort-compress-hang: skipping test: very expensive: disabled by def= ault This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=3Dyes make check SKIP: misc/sort-compress-proc (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number sort (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Haertel and Paul Eggert. =2E/init.cfg: line 39: 9: Bad file number =2E/misc/sort-compress-proc: skipping test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check SKIP: misc/sort-month (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number sort (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Haertel and Paul Eggert. =2E/init.cfg: line 39: 9: Bad file number =2E/misc/sort-month: skipping test: The locale utility is not present SKIP: misc/sort-stale-thread-mem (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number sort (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Haertel and Paul Eggert. =2E/init.cfg: line 39: 9: Bad file number =2E/misc/sort-stale-thread-mem: skipping test: very expensive: disabled by = default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=3Dyes make check SKIP: misc/stat-nanoseconds (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/misc/stat-nanoseconds[19]: print_ver_: not found. =2E/misc/stat-nanoseconds: line 19: print_ver_: command not found =2E/init.sh: line 77: 9: Bad file number =2E/init.sh: line 77: 9: Bad file number SKIP: misc/stdbuf (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D =2E/init.sh: line 77: 9: Bad file number env: stdbuf: No such file or directory mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. stdbuf: not built =2E/init.cfg: line 39: 9: Bad file number =2E/misc/stdbuf: skipping test: required program(s) not built SKIP: misc/su-fail (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number su (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie. su: not built =2E/init.cfg: line 39: 9: Bad file number =2E/misc/su-fail: skipping test: required program(s) not built SKIP: misc/tac-continue (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number tac (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Jay Lepreau and David MacKenzie. =2E/init.cfg: line 39: 9: Bad file number =2E/misc/tac-continue: skipping test: FULL_PARTITION_TMPDIR not defined SKIP: misc/tty-eof (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D tty-eof: this script requires Perl's Expect package >=3D1.11 SKIP: misc/xattr (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D =2E/init.sh: line 77: 9: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. install (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie. cp: cannot preserve extended attributes, cp is built without xattr support =2E/init.cfg: line 39: 9: Bad file number =2E/misc/xattr: skipping test: coreutils built without xattr support SKIP: cp/acl (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. env: getfacl: No such file or directory env: setfacl: No such file or directory =2E/init.cfg: line 39: 9: Bad file number =2E/cp/acl: skipping test: This test requires getfacl and setfacl. SKIP: cp/existing-perm-race (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/cp/existing-perm-race: skipping test: requires membership in two groups this test requires that you be a member of more than one group, but running `id -G' either failed or found just one. If you really are a member of at least two groups, then rerun this test with COREUTILS_GROUPS set in your environment to the space-separated list of group names or numbers. E.g., env COREUTILS_GROUPS=3Dusers cdrom make check SKIP: cp/fiemap-empty (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/cp/fiemap-empty: skipping test: disabled for now SKIP: cp/fiemap-perf (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 318: python: command not found =2E/init.sh: line 77: 9: Bad file number =2E/init.sh: line 77: 9: Bad file number SKIP: cp/fiemap-2 (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D =2E/init.sh: line 77: 9: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 318: python: command not found =2E/init.sh: line 77: 9: Bad file number =2E/init.sh: line 77: 9: Bad file number SKIP: cp/file-perm-race (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/cp/file-perm-race: skipping test: This test must be run on a local file= system. SKIP: cp/link-symlink (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. touch: setting times of `link': Function is not available =2E/init.cfg: line 39: 9: Bad file number =2E/cp/link-symlink: skipping test: Your system doesn't support updating sy= mlink timestamps SKIP: cp/parent-perm (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/cp/parent-perm: skipping test: This test must be run on a local file sy= stem. SKIP: cp/parent-perm-race (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/cp/parent-perm-race: skipping test: This test must be run on a local fi= le system. SKIP: cp/perm (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/cp/perm: skipping test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=3Dyes make check SKIP: cp/preserve-2 (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/cp/preserve-2: skipping test: This test must be run on a local file sys= tem. SKIP: cp/preserve-slink-time (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/cp/preserve-slink-time: skipping test: this system lacks the utimensat = function SKIP: cp/proc-short-read (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/cp/proc-short-read: skipping test: your system lacks /proc/kallsyms =46AIL: dd/nocache (exit: 1) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D =2E/init.sh: line 77: 9: Bad file number dd (coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, and Stuart Kemp. 0+0 records in 0+0 records out 0 bytes (0 B) copied, 2.7073e-05 s, 0.0 kB/s 0+0 records in 0+0 records out 0 bytes (0 B) copied, 2.0273e-05 s, 0.0 kB/s dd: failed to discard cache for: `standard input': Illegal seek 0+0 records in 0+0 records out 0 bytes (0 B) copied, 0.000298248 s, 0.0 kB/s dd: cannot combine direct and nocache 100+0 records in 100+0 records out 51200 bytes (51 kB) copied, 0.0101932 s, 5.0 MB/s 100+0 records in 100+0 records out 51200 bytes (51 kB) copied, 0.0117582 s, 4.4 MB/s dd: failed to discard cache for: `ofile': Not a typewriter 0+0 records in 0+0 records out 0 bytes (0 B) copied, 0.000316308 s, 0.0 kB/s 10+0 records in 10+0 records out 5120 bytes (5.1 kB) copied, 0.000155147 s, 33.0 MB/s 100+0 records in 100+0 records out 51200 bytes (51 kB) copied, 0.00846577 s, 6.0 MB/s SKIP: du/2g (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number du (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, Paul Eggert, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/du/2g: skipping test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=3Dyes make check SKIP: du/bigtime (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D =2E/init.sh: line 77: 9: Bad file number =2E/init.sh: line 77: 9: Bad file number SKIP: du/fd-leak (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D =2E/init.sh: line 77: 9: Bad file number du (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, Paul Eggert, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/du/fd-leak: skipping test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check =46AIL: du/inaccessible-cwd (exit: 1) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number du (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, Paul Eggert, and Jim Meyering. du: unable to record current working directory: Permission denied SKIP: du/long-from-unreadable (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number du (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, Paul Eggert, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/du/long-from-unreadable: skipping test: This test would fail, since you= r system lacks /proc support. SKIP: du/move-dir-while-traversing (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number du (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, Paul Eggert, and Jim Meyering. =2E/du/move-dir-while-traversing: line 23: python: command not found =2E/init.sh: line 77: 9: Bad file number SKIP: du/slink (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number du (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, Paul Eggert, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/du/slink: skipping test: This test must be run on a local file system. SKIP: id/no-context (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number id (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . 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. grep: can't open /proc/filesystems =2E/init.cfg: line 39: 9: Bad file number =2E/id/no-context: skipping test: this system lacks SELinux support SKIP: install/install-C-selinux (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number install (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie. grep: can't open /proc/filesystems =2E/init.cfg: line 39: 9: Bad file number =2E/install/install-C-selinux: skipping test: this system lacks SELinux sup= port SKIP: ls/no-cap (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D =2E/init.sh: line 77: 9: Bad file number ls (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Richard M. Stallman and David MacKenzie. =2E/init.cfg: line 39: 9: Bad file number =2E/ls/no-cap: skipping test: no strace program SKIP: ls/stat-dtype (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number ls (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Richard M. Stallman and David MacKenzie. =2E/init.cfg: line 39: 9: Bad file number =2E/ls/stat-dtype: skipping test: '.' is not on a suitable file system for = this test SKIP: ls/stat-free-symlinks (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number ls (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Richard M. Stallman and David MacKenzie. =2E/init.cfg: line 39: 9: Bad file number =2E/ls/stat-free-symlinks: skipping test: no strace program SKIP: mkdir/selinux (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number mkdir (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie. mkfifo (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie. mknod (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie. =2E/init.cfg: line 76: getenforce: command not found =2E/init.cfg: line 39: 9: Bad file number =2E/mkdir/selinux: skipping test: This test is useful only with SELinux in = Enforcing mode. SKIP: mv/acl (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. env: getfacl: No such file or directory env: setfacl: No such file or directory =2E/init.cfg: line 39: 9: Bad file number =2E/mv/acl: skipping test: This test requires getfacl and setfacl. SKIP: mv/atomic (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D =2E/init.sh: line 77: 9: Bad file number mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/mv/atomic: skipping test: no strace program SKIP: mv/atomic2 (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D =2E/init.sh: line 77: 9: Bad file number mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/mv/atomic2: skipping test: no strace program SKIP: mv/i-3 (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/mv/i-3: skipping test: there is no /dev/stdin file SKIP: mv/leak-fd (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D =2E/init.sh: line 77: 9: Bad file number mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. + expensive_ + test '' '!=3D' yes + skip_test_ 'expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check ' + echo './mv/leak-fd: skipping test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check ' + head -1 =2E/init.cfg: line 39: 9: Bad file number + echo './mv/leak-fd: skipping test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check ' =2E/mv/leak-fd: skipping test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=3D77 + cleanup_ + rm -rf /tmp/tmp1287 + cd /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests + chmod -R u+rwx /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/test= s/gt-leak-fd.yKTA + rm -rf /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests/gt-lea= k-fd.yKTA + exit 77 SKIP: mv/part-symlink (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. + require_local_dir_ + is_local_dir_ . + test 1 =3D 1 + df --local . + skip_test_ 'This test must be run on a local file system.' + echo './mv/part-symlink: skipping test: This test must be run on a local = file system.' + head -1 =2E/init.cfg: line 39: 9: Bad file number + echo './mv/part-symlink: skipping test: This test must be run on a local = file system.' =2E/mv/part-symlink: skipping test: This test must be run on a local file s= ystem. + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=3D77 + cleanup_ + rm -rf /tmp/tmp1974 + cd /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests + chmod -R u+rwx /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/test= s/gt-part-symlink.LQzo + rm -rf /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests/gt-par= t-symlink.LQzo + exit 77 SKIP: tail-2/assert-2 (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number tail (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/tail-2/assert-2: skipping test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=3Dyes make check SKIP: tail-2/big-4gb (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number tail (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/tail-2/big-4gb: skipping test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check SKIP: touch/no-dereference (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number touch (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, Arnold Robbins, Jim Kingdon, David MacKenzie, and Randy Smith. =2E/init.cfg: line 39: 9: Bad file number =2E/touch/no-dereference: skipping test: this system lacks the utimensat fu= nction SKIP: chown/basic (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D =2E/init.sh: line 77: 9: Bad file number chgrp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/chown/basic: skipping test: must be run as root SKIP: cp/cp-a-selinux (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/cp/cp-a-selinux: skipping test: must be run as root SKIP: cp/preserve-gid (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/cp/preserve-gid: skipping test: must be run as root SKIP: cp/special-bits (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/cp/special-bits: skipping test: must be run as root SKIP: cp/cp-mv-enotsup-xattr (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/cp/cp-mv-enotsup-xattr: skipping test: must be run as root SKIP: cp/capability (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number ls (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Richard M. Stallman and David MacKenzie. =2E/init.cfg: line 39: 9: Bad file number =2E/cp/capability: skipping test: must be run as root SKIP: cp/sparse-fiemap (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 318: python: command not found =2E/init.sh: line 77: 9: Bad file number =2E/init.cfg: line 39: 9: Bad file number =2E/cp/sparse-fiemap: skipping test: current file system has insufficient F= IEMAP support SKIP: dd/skip-seek-past-dev (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number dd (coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, and Stuart Kemp. =2E/init.cfg: line 39: 9: Bad file number =2E/dd/skip-seek-past-dev: skipping test: must be run as root SKIP: install/install-C-root (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number install (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie. =2E/init.cfg: line 39: 9: Bad file number =2E/install/install-C-root: skipping test: must be run as root SKIP: ls/capability (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number ls (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Richard M. Stallman and David MacKenzie. =2E/init.cfg: line 39: 9: Bad file number =2E/ls/capability: skipping test: must be run as root SKIP: ls/nameless-uid (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number ls (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Richard M. Stallman and David MacKenzie. =2E/init.cfg: line 39: 9: Bad file number =2E/ls/nameless-uid: skipping test: must be run as root SKIP: misc/chcon (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D =2E/init.sh: line 77: 9: Bad file number chcon (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Russell Coker and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/misc/chcon: skipping test: must be run as root SKIP: misc/chroot-credentials (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number chroot (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Roland McGrath. =2E/init.cfg: line 39: 9: Bad file number =2E/misc/chroot-credentials: skipping test: must be run as root SKIP: misc/selinux (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number chcon (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Russell Coker and Jim Meyering. cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. ls (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Richard M. Stallman and David MacKenzie. mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. stat (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Michael Meskes. =2E/init.cfg: line 39: 9: Bad file number =2E/misc/selinux: skipping test: must be run as root SKIP: misc/truncate-owned-by-other (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number truncate (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by P=C4draig Brady. =2E/init.cfg: line 39: 9: Bad file number =2E/misc/truncate-owned-by-other: skipping test: must be run as root SKIP: mkdir/writable-under-readonly (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number mkdir (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie. =2E/init.cfg: line 39: 9: Bad file number =2E/mkdir/writable-under-readonly: skipping test: must be run as root SKIP: mv/sticky-to-xpart (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/mv/sticky-to-xpart: skipping test: must be run as root SKIP: rm/fail-2eperm (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number rm (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/rm/fail-2eperm: skipping test: must be run as root SKIP: rm/no-give-up (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number rm (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/rm/no-give-up: skipping test: must be run as root SKIP: rm/one-file-system (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number rm (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/rm/one-file-system: skipping test: must be run as root SKIP: rm/read-only (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number rm (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/rm/read-only: skipping test: must be run as root SKIP: tail-2/append-only (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number tail (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering. =2E/init.cfg: line 39: 9: Bad file number =2E/tail-2/append-only: skipping test: must be run as root SKIP: touch/now-owned-by-other (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/init.sh: line 77: 9: Bad file number touch (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, Arnold Robbins, Jim Kingdon, David MacKenzie, and Randy Smith. =2E/init.cfg: line 39: 9: Bad file number =2E/touch/now-owned-by-other: skipping test: must be run as root --Boundary-00=_L2f9NWbjgSjdRDx-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 09:37:13 2011 Received: (at submit) by debbugs.gnu.org; 13 Jun 2011 13:37:13 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QW7KK-0008AN-8z for submit@debbugs.gnu.org; Mon, 13 Jun 2011 09:37:12 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QW7KI-0008A5-En for submit@debbugs.gnu.org; Mon, 13 Jun 2011 09:37:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QW7KB-000800-Hx for submit@debbugs.gnu.org; Mon, 13 Jun 2011 09:37:05 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:38220) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QW7KB-0007zu-7y for submit@debbugs.gnu.org; Mon, 13 Jun 2011 09:37:03 -0400 Received: from eggs.gnu.org ([140.186.70.92]:36688) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QW7K9-0006D3-RB for bug-coreutils@gnu.org; Mon, 13 Jun 2011 09:37:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QW7K7-0007zP-A8 for bug-coreutils@gnu.org; Mon, 13 Jun 2011 09:37:01 -0400 Received: from mx.meyering.net ([82.230.74.64]:42157) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QW7K6-0007zH-SG for bug-coreutils@gnu.org; Mon, 13 Jun 2011 09:36:59 -0400 Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id DF8AC60068; Mon, 13 Jun 2011 15:36:57 +0200 (CEST) From: Jim Meyering To: Bruno Haible Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed In-Reply-To: <201106131407.39334.bruno@clisp.org> (Bruno Haible's message of "Mon, 13 Jun 2011 14:07:38 +0200") References: <201106131115.28601.bruno@clisp.org> <201106131230.18659.stefano.lattarini@gmail.com> <87tybuf1pq.fsf@rho.meyering.net> <201106131407.39334.bruno@clisp.org> Date: Mon, 13 Jun 2011 15:36:57 +0200 Message-ID: <87hb7tg8ee.fsf@rho.meyering.net> Lines: 33 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: submit Cc: bug-coreutils@gnu.org, 8846@debbugs.gnu.org, Stefano Lattarini X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.0 (------) Bruno Haible wrote: > Jim Meyering wrote: >> --- a/tests/init.sh >> +++ b/tests/init.sh >> @@ -74,7 +74,7 @@ Exit () { set +e; (exit $1); exit $1; } >> =A0# the reason for skip/failure to console, rather than to the .log fil= es. >> =A0: ${stderr_fileno_=3D2} >> >> -warn_ () { echo "$@" 1>&$stderr_fileno_; } >> +warn_ () { eval 'echo "$@" 1>&'"$stderr_fileno_"; } >> =A0fail_ () { warn_ "$ME_: failed test: $@"; Exit 1; } >> =A0skip_ () { warn_ "$ME_: skipped test: $@"; Exit 77; } >> =A0framework_failure_ () { warn_ "$ME_: set-up failure: $@"; Exit 99; } > > After applying this patch, here's the test-suite.log that I now get. Thank you. However, it looks like using "eval" didn't help at all. What does this do on that system? sh -c 'e=3D2; warn_ () { echo "$@" 1>&$e; }; warn_ x' This is what happens via tests/check.mk: printf '#!/bin/sh\ne=3D9; warn_ () { echo "$@" 1>&$e; }; warn_ x\n' > k sh -c 'exec 9>&2; /bin/sh k' Does that evoke a warning for you? If so, does hard-coding the "9" help? printf '#!/bin/sh\ne=3D9; warn_ () { echo "$@" 1>&9; }; warn_ x\n' > k sh -c 'exec 9>&2; /bin/sh k' From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 11:00:00 2011 Received: (at 8846) by debbugs.gnu.org; 13 Jun 2011 15:00:00 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QW8cS-0002V7-5J for submit@debbugs.gnu.org; Mon, 13 Jun 2011 11:00:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QW8cO-0002Ut-07 for 8846@debbugs.gnu.org; Mon, 13 Jun 2011 10:59:58 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p5DExmjj012526 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 13 Jun 2011 10:59:48 -0400 Received: from [10.3.113.141] (ovpn-113-141.phx2.redhat.com [10.3.113.141]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p5DExmJ5003918; Mon, 13 Jun 2011 10:59:48 -0400 Message-ID: <4DF625E3.9070908@redhat.com> Date: Mon, 13 Jun 2011 08:59:47 -0600 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110419 Red Hat/3.1.10-1.el6_0 Mnenhy/0.8.3 Thunderbird/3.1.10 MIME-Version: 1.0 To: Jim Meyering Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed References: <201106131115.28601.bruno@clisp.org> <87hb7ughxd.fsf@rho.meyering.net> In-Reply-To: <87hb7ughxd.fsf@rho.meyering.net> X-Enigmail-Version: 1.1.2 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigCFE4BAF46999FEBCF989B438" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 X-Spam-Score: -10.3 (----------) X-Debbugs-Envelope-To: 8846 Cc: 8846@debbugs.gnu.org, "bug-autoconf@gnu.org" , Bruno Haible X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -10.3 (----------) This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigCFE4BAF46999FEBCF989B438 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 06/13/2011 04:11 AM, Jim Meyering wrote: > Thank you for the testing and report. > That "bad file number" error comes from this code in init.sh: >=20 > : ${stderr_fileno_=3D2} > warn_ () { echo "$@" 1>&$stderr_fileno_; } >=20 > Because of that, the log contains less information than usual. I'm having problems summarizing this shell bug into a succinct description that would be worth including in the autoconf manual. What exactly is the bug here? That is, my attempt to provoke the problem on HP-UX 11.11 with this snippet is not failing with a "bad file number": $ /bin/sh -c 'n=3D3; f(){ echo "$@" 1>&$n; }; exec 3>&2; f hi' hi --=20 Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enigCFE4BAF46999FEBCF989B438 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJN9iXjAAoJEKeha0olJ0NqD8kH/juyfnm3BnDfTqkRJqMY5D2H pk1v9Bf3m8Dso2zMn7/kgykR7Zc99YjNq52MQM+Vs3pihOv0dKMilxh+xDI8eMxS Racu/PlP822avlnughsipGzCZCNdr3k7SXogzYx8r+aIuJ3cW8HNBuZ+EC8+tdky Z7jFFsWHZZlW0FP1R+WMJXarM76Nr/ptRP8lz23m5AArGytZu7eWhvVjx37a6nK2 cfnViArFGksOAB9sR6CtKmNc4gsJDyTzcVtcRhebWlS0+GeByAOwpnyVY1CpeZ6H rxGHU9UNfQQ/gTipS0aNbytEd6h0Au9CHzHsN80ojZyg5Di8xA78uhyD2pjLdBk= =rFXr -----END PGP SIGNATURE----- --------------enigCFE4BAF46999FEBCF989B438-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 11:03:34 2011 Received: (at 8846) by debbugs.gnu.org; 13 Jun 2011 15:03:34 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QW8ft-0003Pd-6f for submit@debbugs.gnu.org; Mon, 13 Jun 2011 11:03:33 -0400 Received: from mx.meyering.net ([82.230.74.64]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QW8fr-0003PR-Gk for 8846@debbugs.gnu.org; Mon, 13 Jun 2011 11:03:32 -0400 Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id 943DC60325; Mon, 13 Jun 2011 17:03:25 +0200 (CEST) From: Jim Meyering To: Eric Blake Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed In-Reply-To: <4DF625E3.9070908@redhat.com> (Eric Blake's message of "Mon, 13 Jun 2011 08:59:47 -0600") References: <201106131115.28601.bruno@clisp.org> <87hb7ughxd.fsf@rho.meyering.net> <4DF625E3.9070908@redhat.com> Date: Mon, 13 Jun 2011 17:03:25 +0200 Message-ID: <87oc21eptu.fsf@rho.meyering.net> Lines: 23 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: 8846 Cc: 8846@debbugs.gnu.org, "bug-autoconf@gnu.org" , Bruno Haible X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.0 (------) Eric Blake wrote: > On 06/13/2011 04:11 AM, Jim Meyering wrote: >> Thank you for the testing and report. >> That "bad file number" error comes from this code in init.sh: >> >> : ${stderr_fileno_=2} >> warn_ () { echo "$@" 1>&$stderr_fileno_; } >> >> Because of that, the log contains less information than usual. > > I'm having problems summarizing this shell bug into a succinct > description that would be worth including in the autoconf manual. What > exactly is the bug here? > > That is, my attempt to provoke the problem on HP-UX 11.11 with this > snippet is not failing with a "bad file number": > > $ /bin/sh -c 'n=3; f(){ echo "$@" 1>&$n; }; exec 3>&2; f hi' > hi Per Bruno's report, running "make check" on HP-UX 11.31 resulted in one "Bad file number" diagnostic per use of init.sh. Perhaps it's a problem in 11.31 that is not in 11.1. From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 11:19:13 2011 Received: (at 8846) by debbugs.gnu.org; 13 Jun 2011 15:19:13 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QW8v2-0003lF-Qk for submit@debbugs.gnu.org; Mon, 13 Jun 2011 11:19:13 -0400 Received: from mx1.redhat.com ([209.132.183.28]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QW8uz-0003l3-W2 for 8846@debbugs.gnu.org; Mon, 13 Jun 2011 11:19:11 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p5DFJ2LF019775 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 13 Jun 2011 11:19:02 -0400 Received: from [10.3.113.141] (ovpn-113-141.phx2.redhat.com [10.3.113.141]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p5DFJ1sK002637; Mon, 13 Jun 2011 11:19:01 -0400 Message-ID: <4DF62A64.6080004@redhat.com> Date: Mon, 13 Jun 2011 09:19:00 -0600 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110419 Red Hat/3.1.10-1.el6_0 Mnenhy/0.8.3 Thunderbird/3.1.10 MIME-Version: 1.0 To: Jim Meyering Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed References: <201106131115.28601.bruno@clisp.org> <201106131230.18659.stefano.lattarini@gmail.com> <87tybuf1pq.fsf@rho.meyering.net> <201106131407.39334.bruno@clisp.org> <87hb7tg8ee.fsf@rho.meyering.net> In-Reply-To: <87hb7tg8ee.fsf@rho.meyering.net> X-Enigmail-Version: 1.1.2 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig96E41C5BFAC77535604BB8FE" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Spam-Score: -10.3 (----------) X-Debbugs-Envelope-To: 8846 Cc: stefano.lattarini@gmail.com, "bug-autoconf@gnu.org" , 8846@debbugs.gnu.org, Bruno Haible X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -10.3 (----------) This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig96E41C5BFAC77535604BB8FE Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 06/13/2011 07:36 AM, Jim Meyering wrote: > However, it looks like using "eval" didn't help at all. > What does this do on that system? >=20 > sh -c 'e=3D2; warn_ () { echo "$@" 1>&$e; }; warn_ x' $ sh -c 'e=3D2; warn_ () { echo "$@" 1>&$e; }; warn_ x' x >=20 > This is what happens via tests/check.mk: >=20 > printf '#!/bin/sh\ne=3D9; warn_ () { echo "$@" 1>&$e; }; warn_ x\n'= > k > sh -c 'exec 9>&2; /bin/sh k' >=20 > Does that evoke a warning for you? Yes: % sh -c 'exec 9>&2; /bin/sh k' k: 9: Generated or received a file descriptor number that is not valid. But I think the reason that it invokes a problem is not because of the 1>&$e construct, but because HP-UX opens secondary file descriptors as cloexec or otherwise closing them at some point, so the '/bin/sh k' child process is not inheriting fd 9 from the parent process. Does anyone know the HP-UX counterpart to Linux' strace in order to see what syscalls are in use by the HP-UX shell, and why/where fd 9 is getting closed? >=20 > If so, does hard-coding the "9" help? No. --=20 Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enig96E41C5BFAC77535604BB8FE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJN9ipkAAoJEKeha0olJ0Nq9fMH/22THxovxbWzT7Mff2cJ35UH 7sIRoxnhkD8tyRApTDCYl+PucVxI4vyXVyV/7yDHpgZlRNpq8GNUoa+qqW10e6CU Ti0k1n/1GBlNFOM+EAfKIAtXqsKBolAMc2MBgS2ygMgnwhY8aTG4qnTm+XEiZBj+ ghejr4KXJ15S/3IHUY0fEGNzSfhBAfvmQUs6Sczsdv5TQyerd1dhxj7l/fU9F6Dy x4qFVahWsHVByK5UBnPY2yrUcZ88vCRv0PIvqVNBT8hPu/q/fFMY5fVudIFgLek/ slWXVTiGbQpjT6kFstcUAh3Nqto3hNjlawNzQ7swfQCQcaFm+r1XG3H9585xsAk= =h8aZ -----END PGP SIGNATURE----- --------------enig96E41C5BFAC77535604BB8FE-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 11:38:04 2011 Received: (at 8846) by debbugs.gnu.org; 13 Jun 2011 15:38:04 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QW9DI-0004BX-AU for submit@debbugs.gnu.org; Mon, 13 Jun 2011 11:38:04 -0400 Received: from mx.meyering.net ([82.230.74.64]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QW9DF-0004B4-Pk for 8846@debbugs.gnu.org; Mon, 13 Jun 2011 11:38:02 -0400 Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id E20A66019A; Mon, 13 Jun 2011 17:37:55 +0200 (CEST) From: Jim Meyering To: Eric Blake Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed In-Reply-To: <4DF62A64.6080004@redhat.com> (Eric Blake's message of "Mon, 13 Jun 2011 09:19:00 -0600") References: <201106131115.28601.bruno@clisp.org> <201106131230.18659.stefano.lattarini@gmail.com> <87tybuf1pq.fsf@rho.meyering.net> <201106131407.39334.bruno@clisp.org> <87hb7tg8ee.fsf@rho.meyering.net> <4DF62A64.6080004@redhat.com> Date: Mon, 13 Jun 2011 17:37:55 +0200 Message-ID: <87ips9eo8c.fsf@rho.meyering.net> Lines: 49 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: 8846 Cc: stefano.lattarini@gmail.com, "bug-autoconf@gnu.org" , 8846@debbugs.gnu.org, Bruno Haible X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.0 (------) Eric Blake wrote: > On 06/13/2011 07:36 AM, Jim Meyering wrote: >> However, it looks like using "eval" didn't help at all. >> What does this do on that system? >> >> sh -c 'e=2; warn_ () { echo "$@" 1>&$e; }; warn_ x' > > $ sh -c 'e=2; warn_ () { echo "$@" 1>&$e; }; warn_ x' > x > >> >> This is what happens via tests/check.mk: >> >> printf '#!/bin/sh\ne=9; warn_ () { echo "$@" 1>&$e; }; warn_ x\n' > k >> sh -c 'exec 9>&2; /bin/sh k' >> >> Does that evoke a warning for you? > > Yes: > > % sh -c 'exec 9>&2; /bin/sh k' > k: 9: Generated or received a file descriptor number that is not valid. > > But I think the reason that it invokes a problem is not because of the > 1>&$e construct, but because HP-UX opens secondary file descriptors as > cloexec or otherwise closing them at some point, so the '/bin/sh k' > child process is not inheriting fd 9 from the parent process. Ah ha! That sounds like a syscall that needs to be gnulib-replaced in bash/zsh. Of course, first we'd need to gnulib-enable a shell. > Does anyone know the HP-UX counterpart to Linux' strace in order to see > what syscalls are in use by the HP-UX shell, and why/where fd 9 is > getting closed? http://bhami.com/rosetta.html suggests the following: caliper fprof caliper ktrace trace (freeware) tusc (11+, freeware) >> If so, does hard-coding the "9" help? > > No. Thanks for investigating. From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 11:38:55 2011 Received: (at 8846) by debbugs.gnu.org; 13 Jun 2011 15:38:55 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QW9E6-0004CV-Qh for submit@debbugs.gnu.org; Mon, 13 Jun 2011 11:38:55 -0400 Received: from mx.meyering.net ([82.230.74.64]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QW9E4-0004CJ-JP for 8846@debbugs.gnu.org; Mon, 13 Jun 2011 11:38:53 -0400 Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id 114596019A; Mon, 13 Jun 2011 17:38:47 +0200 (CEST) From: Jim Meyering To: Stefano Lattarini Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed In-Reply-To: <201106131303.20243.stefano.lattarini@gmail.com> (Stefano Lattarini's message of "Mon, 13 Jun 2011 13:03:19 +0200") References: <201106131115.28601.bruno@clisp.org> <201106131230.18659.stefano.lattarini@gmail.com> <87tybuf1pq.fsf@rho.meyering.net> <201106131303.20243.stefano.lattarini@gmail.com> Date: Mon, 13 Jun 2011 17:38:46 +0200 Message-ID: <87d3iheo6x.fsf@rho.meyering.net> Lines: 54 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: 8846 Cc: Bruno Haible , 8846@debbugs.gnu.org, bug-coreutils@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.0 (------) Stefano Lattarini wrote: > On Monday 13 June 2011, Jim Meyering wrote: >> Stefano Lattarini wrote: >> > Hello Jim. >> ... >> > Wouldn't it be simpler, and potentially more correct, to use simply: >> > >> > warn_ () { eval 'echo "$@" 1>&'"$stderr_fileno_"; } >> > >> > With your new implementation, I see this on Debian with bash and dash: >> > >> > $ stderr_fileno_=2; warn_ () { eval 'echo "'"$@"'" 1>&'"$stderr_fileno_"; } >> > $ $ warn_ '$HOME' >> > /home/stefano >> > >> > which is not intended behaviour IMHO. >> >> Thanks again. Here's what I've just pushed. >> I'll do the same for gnulib shortly. >> >> From 6fb9aeedd1b858a61d5cbf7f15782adf29ff733a Mon Sep 17 00:00:00 2001 >> From: Jim Meyering >> Date: Mon, 13 Jun 2011 12:07:14 +0200 >> Subject: [PATCH] init.sh: accommodate shells for which 1>&$stderr_fileno_ >> fails >> >> * tests/init.sh (warn_): Use eval to work around a bug in some shells, >> like those of Solaris 10 and HP-UX 11.11. >> Improved by Stefano Lattarini. >> --- >> tests/init.sh | 2 +- >> 1 files changed, 1 insertions(+), 1 deletions(-) >> >> diff --git a/tests/init.sh b/tests/init.sh >> index 14f2e26..25850af 100644 >> --- a/tests/init.sh >> +++ b/tests/init.sh >> @@ -74,7 +74,7 @@ Exit () { set +e; (exit $1); exit $1; } >> # the reason for skip/failure to console, rather than to the .log files. >> : ${stderr_fileno_=2} >> >> -warn_ () { echo "$@" 1>&$stderr_fileno_; } >> +warn_ () { eval 'echo "$@" 1>&'"$stderr_fileno_"; } >> fail_ () { warn_ "$ME_: failed test: $@"; Exit 1; } >> skip_ () { warn_ "$ME_: skipped test: $@"; Exit 77; } >> framework_failure_ () { warn_ "$ME_: set-up failure: $@"; Exit 99; } >> -- >> 1.7.6.rc0.293.g40857 >> > Thanks. I'll port this to automake tests/defs soonish; I assume you are > ok to be credited as lead author in ChangeLog and git commit, right? Looks like that change is not useful after all. I'll revert it in coreutils. From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 11:47:32 2011 Received: (at 8846) by debbugs.gnu.org; 13 Jun 2011 15:47:32 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QW9MR-0004P9-RO for submit@debbugs.gnu.org; Mon, 13 Jun 2011 11:47:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QW9MO-0004Ov-ST for 8846@debbugs.gnu.org; Mon, 13 Jun 2011 11:47:30 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p5DFlLNs017242 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 13 Jun 2011 11:47:21 -0400 Received: from [10.3.113.141] (ovpn-113-141.phx2.redhat.com [10.3.113.141]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p5DFlHei012911; Mon, 13 Jun 2011 11:47:20 -0400 Message-ID: <4DF63105.8040102@redhat.com> Date: Mon, 13 Jun 2011 09:47:17 -0600 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110419 Red Hat/3.1.10-1.el6_0 Mnenhy/0.8.3 Thunderbird/3.1.10 MIME-Version: 1.0 To: Jim Meyering Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed References: <201106131115.28601.bruno@clisp.org> <201106131230.18659.stefano.lattarini@gmail.com> <87tybuf1pq.fsf@rho.meyering.net> <201106131407.39334.bruno@clisp.org> <87hb7tg8ee.fsf@rho.meyering.net> <4DF62A64.6080004@redhat.com> <87ips9eo8c.fsf@rho.meyering.net> In-Reply-To: <87ips9eo8c.fsf@rho.meyering.net> X-Enigmail-Version: 1.1.2 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig7121435BC3FC4B153A3D5449" X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-Spam-Score: -10.3 (----------) X-Debbugs-Envelope-To: 8846 Cc: stefano.lattarini@gmail.com, "bug-autoconf@gnu.org" , 8846@debbugs.gnu.org, Bruno Haible X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -10.3 (----------) This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7121435BC3FC4B153A3D5449 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 06/13/2011 09:37 AM, Jim Meyering wrote: >> But I think the reason that it invokes a problem is not because of the= >> 1>&$e construct, but because HP-UX opens secondary file descriptors as= >> cloexec or otherwise closing them at some point, so the '/bin/sh k' >> child process is not inheriting fd 9 from the parent process. >=20 > Ah ha! > That sounds like a syscall that needs to be gnulib-replaced in bash/zsh= =2E > Of course, first we'd need to gnulib-enable a shell. Yep, I've confirmed that both HP-UX and Solaris 10 ksh use CLOEXEC fds for intermediate fd values created by exec; that POSIX permits (but fortunately does not require) this behavior, and that autoconf already documents the pitfall of expecting fds > 2 to be preserved into child processes: http://www.gnu.org/software/autoconf/manual/autoconf.html#File-Descriptor= s > Don't rely on open file descriptors being open in child processes. In k= sh, file descriptors above 2 which are opened using =E2=80=98exec n>file=E2= =80=99 are closed by a subsequent =E2=80=98exec=E2=80=99 (such as that in= volved in the fork-and-exec which runs a program or script). Thus, using = sh, we have: >=20 > $ cat ./descrips > #!/bin/sh - > echo hello >&5 > $ exec 5>t > $ ./descrips > $ cat t > hello > $ >=20 > But using ksh: >=20 > $ exec 5>t > $ ./descrips > hello > $ cat t > $ On Solaris 10, truss shows this for 'exec 9>&2': dup(2) =3D 3 close(9) Err#9 EBADF fcntl(3, F_DUPFD, 0x00000009) =3D 9 close(3) =3D 0 fcntl(9, F_SETFD, 0x00000001) =3D 0 > tusc (11+, freeware) Likewise on HP-UX 11.31, tusc shows: dup(2) ................................................... =3D 3 close(9) ................................................. ERR#9 EBADF fcntl(3, F_DUPFD, 9) ..................................... =3D 9 close(3) ................................................. =3D 0 fcntl(9, F_SETFD, 1) ..................................... =3D 0 About the only thing I can think of is to pass the details about the desired redirection as a command-line or env-var setting, to be done by the script itself, rather than relying on the parent shell (the one in make) being able to do a redirection that persists into the child (the one sourcing init.sh). --=20 Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enig7121435BC3FC4B153A3D5449 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJN9jEFAAoJEKeha0olJ0NqckkIAJjuKr3a09DzEE4UaA++MtzV ZDEWEriadIFfWA//gg6/8nb+L42P1oOX/BdrO/xdXkxuYg1YCgvqFKeyGP19/Yso ZCR7FKuiLMVbMb21e9vuorCbj1fXr0JD/o2GkjhqH+G41CrZhBgNYFn5fUan2tYL dHIV5zDIPF8g7nKynTcvVGNGp2j77HWXofZ/BospgltPtDx63Ug5MkJ/N/fwpb/d hRe6ihgTMSz/Bm363ygfOsVEyH1UJ6XOjitCpcqKUH8UwIHFSOMBM/1FUJYY6jaA yJx8SJaaBKhy9RlkbWMDSdWSNI+3DKIIraF2U1iMTEGAYY8z8Dr1HB4kfd49wxo= =7PmC -----END PGP SIGNATURE----- --------------enig7121435BC3FC4B153A3D5449-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 13:01:12 2011 Received: (at 8846) by debbugs.gnu.org; 13 Jun 2011 17:01:13 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWAVk-00065n-AM for submit@debbugs.gnu.org; Mon, 13 Jun 2011 13:01:12 -0400 Received: from mx.meyering.net ([82.230.74.64]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWAVg-00065a-AC for 8846@debbugs.gnu.org; Mon, 13 Jun 2011 13:01:10 -0400 Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id 8A19E60068; Mon, 13 Jun 2011 19:01:02 +0200 (CEST) From: Jim Meyering To: Eric Blake Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed In-Reply-To: <4DF63105.8040102@redhat.com> (Eric Blake's message of "Mon, 13 Jun 2011 09:47:17 -0600") References: <201106131115.28601.bruno@clisp.org> <201106131230.18659.stefano.lattarini@gmail.com> <87tybuf1pq.fsf@rho.meyering.net> <201106131407.39334.bruno@clisp.org> <87hb7tg8ee.fsf@rho.meyering.net> <4DF62A64.6080004@redhat.com> <87ips9eo8c.fsf@rho.meyering.net> <4DF63105.8040102@redhat.com> Date: Mon, 13 Jun 2011 19:01:02 +0200 Message-ID: <87wrgpd5td.fsf@rho.meyering.net> Lines: 108 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: 8846 Cc: stefano.lattarini@gmail.com, "bug-autoconf@gnu.org" , 8846@debbugs.gnu.org, Bruno Haible X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.0 (------) Eric Blake wrote: > On 06/13/2011 09:37 AM, Jim Meyering wrote: >>> But I think the reason that it invokes a problem is not because of the >>> 1>&$e construct, but because HP-UX opens secondary file descriptors as >>> cloexec or otherwise closing them at some point, so the '/bin/sh k' >>> child process is not inheriting fd 9 from the parent process. >> >> Ah ha! >> That sounds like a syscall that needs to be gnulib-replaced in bash/zsh. >> Of course, first we'd need to gnulib-enable a shell. > > Yep, I've confirmed that both HP-UX and Solaris 10 ksh use CLOEXEC fds > for intermediate fd values created by exec; that POSIX permits (but > fortunately does not require) this behavior, and that autoconf already > documents the pitfall of expecting fds > 2 to be preserved into child > processes: > > http://www.gnu.org/software/autoconf/manual/autoconf.html#File-Descriptors > >> Don't rely on open file descriptors being open in child >> processes. In ksh, file descriptors above 2 which are opened using >> =E2=80=98exec n>file=E2=80=99 are closed by a subsequent =E2=80=98exec= =E2=80=99 (such as that >> involved in the fork-and-exec which runs a program or script). Thus, >> using sh, we have: >> >> $ cat ./descrips >> #!/bin/sh - >> echo hello >&5 >> $ exec 5>t >> $ ./descrips >> $ cat t >> hello >> $ >> >> But using ksh: >> >> $ exec 5>t >> $ ./descrips >> hello >> $ cat t >> $ > > On Solaris 10, truss shows this for 'exec 9>&2': > > dup(2) =3D 3 > close(9) Err#9 EBADF > fcntl(3, F_DUPFD, 0x00000009) =3D 9 > close(3) =3D 0 > fcntl(9, F_SETFD, 0x00000001) =3D 0 > >> tusc (11+, freeware) > > Likewise on HP-UX 11.31, tusc shows: > > dup(2) ................................................... =3D 3 > close(9) ................................................. ERR#9 EBADF > fcntl(3, F_DUPFD, 9) ..................................... =3D 9 > close(3) ................................................. =3D 0 > fcntl(9, F_SETFD, 1) ..................................... =3D 0 > > About the only thing I can think of is to pass the details about the > desired redirection as a command-line or env-var setting, to be done by > the script itself, rather than relying on the parent shell (the one in > make) being able to do a redirection that persists into the child (the > one sourcing init.sh). Thanks for confirming. Actually the fix (at least for bourne shell scripts) is even easier than that: perform the redirection from init.sh's setup_ function I'm going to revert (in coreutils) my eval-adding change, and then apply this instead: >From d987cf87de5e7e597e295914c536bd332c24cc63 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 13 Jun 2011 18:54:53 +0200 Subject: [PATCH] init.sh: redirect FD 9 to stderr again, for Solaris 10 and HP-UX * tests/init.sh (setup_): When $stderr_fileno_ is not 2, redirect it. Prior to this change, we would redirect before the shell fork-and-exec performed via automake's TESTS_ENVIRONMENT, but that redirection was ineffective on Solaris 10 and HP-UX 11.31, due to the fact that those systems set the CLOEXEC bit on FDs larger than 2. Thus our redirection of FD 9 would not survive the fork-and-exec of running each test script. --- tests/init.sh | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/tests/init.sh b/tests/init.sh index 60d1bc1..d101643 100644 --- a/tests/init.sh +++ b/tests/init.sh @@ -317,6 +317,11 @@ path_prepend_ () setup_ () { + # If we're redirecting a file descriptor larger than 2, say via automake= 's + # TESTS_ENVIRONMENT, that redirected FD is closed-on-exec on some systems + # (at least Solaris 10 and HP-UX 11.x), so redirect it here again. + test $stderr_fileno_ =3D 2 || eval "exec $stderr_fileno_>&2" + if test "$VERBOSE" =3D yes; then # Test whether set -x may cause the selected shell to corrupt an # application's stderr. Many do, including zsh-4.3.10 and the /bin/sh -- 1.7.6.rc0.293.g40857 From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 15:21:56 2011 Received: (at 8846) by debbugs.gnu.org; 13 Jun 2011 19:21:56 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWChs-0002Pp-NV for submit@debbugs.gnu.org; Mon, 13 Jun 2011 15:21:56 -0400 Received: from mo-p00-ob.rzone.de ([81.169.146.160]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWChm-0002PZ-Mj for 8846@debbugs.gnu.org; Mon, 13 Jun 2011 15:21:51 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1307992900; l=88217; s=domk; d=haible.de; h=Content-Type:MIME-Version:In-Reply-To:References:Cc:Date:Subject:To: From:X-RZG-CLASS-ID:X-RZG-AUTH; bh=5+C8u3ZTKpls/Nauhq9EjZOdNQE=; b=gccJXjMecB5LPrV5niGsgh7sbKPJvo0n6tty8L3IoZ03y1pCf21FdPVakDNIzOC1aBk eAzykI9IoCcMdp6FLtc0ZQhuPmR34YGo1F+yAHlX8ijOmU7XfVjZxnEAfr47nPGqTIily pAcmtvo5yPEJxPLaDRyGQune4xIqi+SXdyg= X-RZG-AUTH: :Ln4Re0+Ic/6oZXR1YgKryK8brksyK8dozXDwHXjf9hj/zDNRbP444xzQwQ== X-RZG-CLASS-ID: mo00 Received: from linuix.haible.de (dslb-088-068-058-108.pools.arcor-ip.net [88.68.58.108]) by post.strato.de (mrclete mo27) (RZmta 25.18) with ESMTPA id k01fc5n5DGprZz ; Mon, 13 Jun 2011 21:21:38 +0200 (MEST) From: Bruno Haible To: Jim Meyering Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed Date: Mon, 13 Jun 2011 21:21:36 +0200 User-Agent: KMail/1.9.9 References: <201106131115.28601.bruno@clisp.org> <4DF63105.8040102@redhat.com> <87wrgpd5td.fsf@rho.meyering.net> In-Reply-To: <87wrgpd5td.fsf@rho.meyering.net> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_BNm9N6BDV6iAHwe" Message-Id: <201106132121.37955.bruno@clisp.org> X-Debbugs-Envelope-To: 8846 Cc: stefano.lattarini@gmail.com, 8846@debbugs.gnu.org, Eric Blake X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org --Boundary-00=_BNm9N6BDV6iAHwe Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Jim Meyering wrote: > --- a/tests/init.sh > +++ b/tests/init.sh > @@ -317,6 +317,11 @@ path_prepend_ () >=20 > =C2=A0setup_ () > =C2=A0{ > + =C2=A0# If we're redirecting a file descriptor larger than 2, say via a= utomake's > + =C2=A0# TESTS_ENVIRONMENT, that redirected FD is closed-on-exec on some= systems > + =C2=A0# (at least Solaris 10 and HP-UX 11.x), so redirect it here again. > + =C2=A0test $stderr_fileno_ =3D 2 || eval "exec $stderr_fileno_>&2" > + > =C2=A0 =C2=A0if test "$VERBOSE" =3D yes; then > =C2=A0 =C2=A0 =C2=A0# Test whether set -x may cause the selected shell to= corrupt an > =C2=A0 =C2=A0 =C2=A0# application's stderr. =C2=A0Many do, including zsh-= 4.3.10 and the /bin/sh With this change, I get the attached log on HP-UX 11.31. =2D-=20 In memoriam Anna G=C3=B6ldi --Boundary-00=_BNm9N6BDV6iAHwe Content-Type: text/x-log; charset="iso 8859-15"; name="test-suite.log" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="test-suite.log" =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D GNU coreutils 8.12: tests/test-suite.log =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 3 of 365 tests failed. (88 tests were not run). =20 =2E. contents:: :depth: 2 SKIP: tail-2/inotify-race (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr tail (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering. =2E/tail-2/inotify-race: skipping test: very expensive: disabled by default =2E/tail-2/inotify-race: skipping test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=3Dyes make check SKIP: rm/ext3-perf (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr rm (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering. =2E/rm/ext3-perf: skipping test: very expensive: disabled by default =2E/rm/ext3-perf: skipping test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=3Dyes make check SKIP: cp/link-heap (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/cp/link-heap: skipping test: expensive: disabled by default =2E/cp/link-heap: skipping test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check SKIP: tail-2/inotify-rotate (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + tail --version tail (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering. + . ./init.sh + + expr ././tail-2/inotify-rotate : .*/\(.*\)$ ME_=3Dinotify-rotate + : 2 + DUALCASE=3D1 + export DUALCASE + test -n=20 + 2> /dev/null + gl_shell_test_script_=3D test $(echo y) =3D y || exit 1 score_=3D10 if test "$VERBOSE" =3D yes; then test -n "$( (exec 3>&1; set -x; P=3D1 true 2>&3) 2> /dev/null)" && score_= =3D9 fi test -z "$EXEEXT" && exit $score_ shopt -s expand_aliases alias a-b=3D"echo zoo" v=3Dabx test ${v%x} =3D ab \ && test ${v#a} =3D bx \ && test $(a-b) =3D zoo \ && exit $score_ + test x =3D x--no-reexec + gl_set_x_corrupts_stderr_=3Dfalse + export gl_set_x_corrupts_stderr_ + marginal_=3D + test __current__ =3D no_shell + test __current__ =3D fail + test __current__ =3D __current__ + 1> /dev/null 2>& 1 + st_=3D9 + test 9 =3D 10 + test 9: =3D 9: + marginal_=3D__current__ + gl_set_x_corrupts_stderr_=3Dtrue + test no_shell =3D no_shell + continue + test /bin/sh =3D no_shell + test /bin/sh =3D fail + test /bin/sh =3D __current__ + /bin/sh -c=20 test $(echo y) =3D y || exit 1 score_=3D10 if test "$VERBOSE" =3D yes; then test -n "$( (exec 3>&1; set -x; P=3D1 true 2>&3) 2> /dev/null)" && score_= =3D9 fi test -z "$EXEEXT" && exit $score_ shopt -s expand_aliases alias a-b=3D"echo zoo" v=3Dabx test ${v%x} =3D ab \ && test ${v#a} =3D bx \ && test $(a-b) =3D zoo \ && exit $score_ + 2> /dev/null + st_=3D9 + test 9 =3D 10 + test 9:__current__ =3D 9: + test bash =3D no_shell + test bash =3D fail + test bash =3D __current__ + bash -c=20 test $(echo y) =3D y || exit 1 score_=3D10 if test "$VERBOSE" =3D yes; then test -n "$( (exec 3>&1; set -x; P=3D1 true 2>&3) 2> /dev/null)" && score_= =3D9 fi test -z "$EXEEXT" && exit $score_ shopt -s expand_aliases alias a-b=3D"echo zoo" v=3Dabx test ${v%x} =3D ab \ && test ${v#a} =3D bx \ && test $(a-b) =3D zoo \ && exit $score_ + 2> /dev/null + st_=3D10 + test 10 =3D 10 + break + test bash !=3D __current__ + opts_=3D-x + exec bash -x ./tail-2/inotify-rotate --no-reexec + test yes =3D yes + set -x + tail --version tail (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering. + . ./init.sh +++ expr ././tail-2/inotify-rotate : '.*/\(.*\)$' ++ ME_=3Dinotify-rotate ++ : 2 ++ DUALCASE=3D1 ++ export DUALCASE ++ test -n '' ++ case `(set -o) 2>/dev/null` in ++ set -o posix ++ gl_shell_test_script_=3D' test $(echo y) =3D y || exit 1 score_=3D10 if test "$VERBOSE" =3D yes; then test -n "$( (exec 3>&1; set -x; P=3D1 true 2>&3) 2> /dev/null)" && score_= =3D9 fi test -z "$EXEEXT" && exit $score_ shopt -s expand_aliases alias a-b=3D"echo zoo" v=3Dabx test ${v%x} =3D ab \ && test ${v#a} =3D bx \ && test $(a-b) =3D zoo \ && exit $score_ ' ++ test x--no-reexec =3D x--no-reexec ++ shift ++ test -n '' ++ : 87 ++ export MALLOC_PERTURB_ ++ test -f ./init.cfg ++ . ./init.cfg +++ stderr_fileno_=3D9 +++ sanitize_path_ +++ local 'saved_IFS=3D =09 ' +++ IFS=3D: +++ set -- /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src /opt/l= angtools/bin /home/haible/bin /opt/fsw/bin /opt/tww/bin /opt/aCC/bin /opt/a= nsic/bin /bin /usr/bin /sbin /usr/sbin /usr/bin/X11 /usr/ccs/bin /usr/contr= ib/bin/X11 /usr/vue/bin /opt/imake/bin +++ IFS=3D' =09 ' +++ local d d1 +++ local colon=3D +++ local new_path=3D +++ for d in '"$@"' +++ test -z /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src +++ d1=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src +++ ls -d /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src +++ colon=3D: +++ for d in '"$@"' +++ test -z /opt/langtools/bin +++ d1=3D/opt/langtools/bin +++ ls -d /opt/langtools/bin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin +++ colon=3D: +++ for d in '"$@"' +++ test -z /home/haible/bin +++ d1=3D/home/haible/bin +++ ls -d /home/haible/bin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin +++ colon=3D: +++ for d in '"$@"' +++ test -z /opt/fsw/bin +++ d1=3D/opt/fsw/bin +++ ls -d /opt/fsw/bin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin +++ colon=3D: +++ for d in '"$@"' +++ test -z /opt/tww/bin +++ d1=3D/opt/tww/bin +++ ls -d /opt/tww/bin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin +++ colon=3D: +++ for d in '"$@"' +++ test -z /opt/aCC/bin +++ d1=3D/opt/aCC/bin +++ ls -d /opt/aCC/bin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin +++ colon=3D: +++ for d in '"$@"' +++ test -z /opt/ansic/bin +++ d1=3D/opt/ansic/bin +++ ls -d /opt/ansic/bin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/o= pt/ansic/bin +++ colon=3D: +++ for d in '"$@"' +++ test -z /bin +++ d1=3D/bin +++ ls -d /bin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/o= pt/ansic/bin:/bin +++ colon=3D: +++ for d in '"$@"' +++ test -z /usr/bin +++ d1=3D/usr/bin +++ ls -d /usr/bin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/o= pt/ansic/bin:/bin:/usr/bin +++ colon=3D: +++ for d in '"$@"' +++ test -z /sbin +++ d1=3D/sbin +++ ls -d /sbin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/o= pt/ansic/bin:/bin:/usr/bin:/sbin +++ colon=3D: +++ for d in '"$@"' +++ test -z /usr/sbin +++ d1=3D/usr/sbin +++ ls -d /usr/sbin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/o= pt/ansic/bin:/bin:/usr/bin:/sbin:/usr/sbin +++ colon=3D: +++ for d in '"$@"' +++ test -z /usr/bin/X11 +++ d1=3D/usr/bin/X11 +++ ls -d /usr/bin/X11/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/o= pt/ansic/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/X11 +++ colon=3D: +++ for d in '"$@"' +++ test -z /usr/ccs/bin +++ d1=3D/usr/ccs/bin +++ ls -d /usr/ccs/bin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/o= pt/ansic/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/X11:/usr/ccs/bin +++ colon=3D: +++ for d in '"$@"' +++ test -z /usr/contrib/bin/X11 +++ d1=3D/usr/contrib/bin/X11 +++ ls -d /usr/contrib/bin/X11/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/o= pt/ansic/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/X11:/usr/ccs/bin:/usr/c= ontrib/bin/X11 +++ colon=3D: +++ for d in '"$@"' +++ test -z /usr/vue/bin +++ d1=3D/usr/vue/bin +++ ls -d /usr/vue/bin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/o= pt/ansic/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/X11:/usr/ccs/bin:/usr/c= ontrib/bin/X11:/usr/vue/bin +++ colon=3D: +++ for d in '"$@"' +++ test -z /opt/imake/bin +++ d1=3D/opt/imake/bin +++ ls -d /opt/imake/bin/. +++ new_path=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/o= pt/langtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/o= pt/ansic/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/X11:/usr/ccs/bin:/usr/c= ontrib/bin/X11:/usr/vue/bin:/opt/imake/bin +++ colon=3D: +++ PATH=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/opt/l= angtools/bin:/home/haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/opt/a= nsic/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/bin/X11:/usr/ccs/bin:/usr/contr= ib/bin/X11:/usr/vue/bin:/opt/imake/bin +++ export PATH ++ setup_ ++ test 9 =3D 2 ++ eval 'exec 9>&2' +++ exec ++ test yes =3D yes ++ true ++ warn_ 'using SHELL=3D/bin/sh with '\''set -x'\'' corrupts stderr' ++ echo 'using SHELL=3D/bin/sh with '\''set -x'\'' corrupts stderr' using SHELL=3D/bin/sh with 'set -x' corrupts stderr ++ initial_cwd_=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tes= ts ++ fail=3D0 +++ testdir_prefix_ +++ printf gt ++ pfx_=3Dgt +++ mktempd_ /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests gt= =2Dinotify-rotate.XXXX +++ case $# in +++ destdir_=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests +++ template_=3Dgt-inotify-rotate.XXXX +++ MAX_TRIES_=3D4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/= tests gt-inotify-rotate.XXXX +++ d=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests/gt-inot= ify-rotate.aXAe +++ case $d in +++ test -d /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests/gt-= inotify-rotate.aXAe ++++ ls -dgo /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests/gt= =2Dinotify-rotate.aXAe ++++ tr S - +++ perms=3D'drwx------ 2 2 Jun 13 19:05 /home/haible/multibuild-1080/hpux1= 1.31/coreutils-8.12/tests/gt-inotify-rotate.aXAe' +++ case $perms in +++ test 0 =3D 0 +++ echo /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests/gt-ino= tify-rotate.aXAe +++ return ++ test_dir_=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests/= gt-inotify-rotate.aXAe ++ cd /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests/gt-inotif= y-rotate.aXAe ++ gl_init_sh_nl_=3D' ' ++ IFS=3D' =09 ' ++ 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 '!=3D' 0 + path_dir_=3D../src + case $path_dir_ in ++ cd /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests/../src ++ echo /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src + abs_path_dir_=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src + case $abs_path_dir_ in + PATH=3D/home/haible/multibuild-1080/hpux11.31/coreutils-8.12/src:/home/ha= ible/multibuild-1080/hpux11.31/coreutils-8.12/src:/opt/langtools/bin:/home/= haible/bin:/opt/fsw/bin:/opt/tww/bin:/opt/aCC/bin:/opt/ansic/bin:/bin:/usr/= bin:/sbin:/usr/sbin:/usr/bin/X11:/usr/ccs/bin:/usr/contrib/bin/X11:/usr/vue= /bin:/opt/imake/bin + create_exe_shims_ /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/s= rc + case $EXEEXT in + return 0 + shift + test 0 '!=3D' 0 + export PATH + expensive_ + test '' '!=3D' yes + skip_test_ 'expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check ' + echo './tail-2/inotify-rotate: skipping test: expensive: disabled by defa= ult This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check ' + head -1 =2E/tail-2/inotify-rotate: skipping test: expensive: disabled by default + echo './tail-2/inotify-rotate: skipping test: expensive: disabled by defa= ult This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check ' =2E/tail-2/inotify-rotate: skipping test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=3D77 + cleanup_ + : + cd /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests + chmod -R u+rwx /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/test= s/gt-inotify-rotate.aXAe + rm -rf /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests/gt-ino= tify-rotate.aXAe + exit 77 SKIP: chgrp/basic (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr chgrp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie and Jim Meyering. =2E/chgrp/basic: skipping test: requires membership in two groups =2E/chgrp/basic: skipping test: requires membership in two groups this test requires that you be a member of more than one group, but running `id -G' either failed or found just one. If you really are a member of at least two groups, then rerun this test with COREUTILS_GROUPS set in your environment to the space-separated list of group names or numbers. E.g., env COREUTILS_GROUPS=3Dusers cdrom make check SKIP: rm/isatty (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr rm (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering. =2E/rm/isatty: skipping test: there is no /dev/stdin file =2E/rm/isatty: skipping test: there is no /dev/stdin file SKIP: tail-2/assert (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr tail (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering. =2E/tail-2/assert: skipping test: very expensive: disabled by default =2E/tail-2/assert: skipping test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=3Dyes make check SKIP: rm/hash (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr rm (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering. =2E/rm/hash: skipping test: expensive: disabled by default =2E/rm/hash: skipping test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check SKIP: rm/inaccessible (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr rm (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering. =2E/rm/inaccessible: skipping test: this system lacks openat support =2E/rm/inaccessible: skipping test: this system lacks openat support SKIP: chgrp/default-no-deref (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr chgrp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie and Jim Meyering. =2E/chgrp/default-no-deref: skipping test: requires membership in two groups =2E/chgrp/default-no-deref: skipping test: requires membership in two groups this test requires that you be a member of more than one group, but running `id -G' either failed or found just one. If you really are a member of at least two groups, then rerun this test with COREUTILS_GROUPS set in your environment to the space-separated list of group names or numbers. E.g., env COREUTILS_GROUPS=3Dusers cdrom make check SKIP: chgrp/deref (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr chgrp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie and Jim Meyering. =2E/chgrp/deref: skipping test: requires membership in two groups =2E/chgrp/deref: skipping test: requires membership in two groups this test requires that you be a member of more than one group, but running `id -G' either failed or found just one. If you really are a member of at least two groups, then rerun this test with COREUTILS_GROUPS set in your environment to the space-separated list of group names or numbers. E.g., env COREUTILS_GROUPS=3Dusers cdrom make check SKIP: chgrp/no-x (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr chgrp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie and Jim Meyering. =2E/chgrp/no-x: skipping test: requires membership in two groups =2E/chgrp/no-x: skipping test: requires membership in two groups this test requires that you be a member of more than one group, but running `id -G' either failed or found just one. If you really are a member of at least two groups, then rerun this test with COREUTILS_GROUPS set in your environment to the space-separated list of group names or numbers. E.g., env COREUTILS_GROUPS=3Dusers cdrom make check SKIP: chgrp/posix-H (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr chgrp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie and Jim Meyering. =2E/chgrp/posix-H: skipping test: requires membership in two groups =2E/chgrp/posix-H: skipping test: requires membership in two groups this test requires that you be a member of more than one group, but running `id -G' either failed or found just one. If you really are a member of at least two groups, then rerun this test with COREUTILS_GROUPS set in your environment to the space-separated list of group names or numbers. E.g., env COREUTILS_GROUPS=3Dusers cdrom make check SKIP: chgrp/recurse (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr chgrp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie and Jim Meyering. =2E/chgrp/recurse: skipping test: requires membership in two groups =2E/chgrp/recurse: skipping test: requires membership in two groups this test requires that you be a member of more than one group, but running `id -G' either failed or found just one. If you really are a member of at least two groups, then rerun this test with COREUTILS_GROUPS set in your environment to the space-separated list of group names or numbers. E.g., env COREUTILS_GROUPS=3Dusers cdrom make check SKIP: misc/seq-long-double (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr seq (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Ulrich Drepper. cpp: "long.c", line 1: error 4036: Can't open include file 'features.h'. =2E/misc/seq-long-double: skipping test: this test runs only on systems wit= h glibc and long double !=3D double =2E/misc/seq-long-double: skipping test: this test runs only on systems wit= h glibc and long double !=3D double SKIP: tail-2/tail-n0f (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr tail (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering. =2E/tail-2/tail-n0f: skipping test: /proc/23349/status: missing or 'differe= nt' =2E/tail-2/tail-n0f: skipping test: /proc/23349/status: missing or 'differe= nt' SKIP: misc/arch (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr env: arch: No such file or directory arch: not built =2E/misc/arch: skipping test: required program(s) not built =2E/misc/arch: skipping test: required program(s) not built SKIP: misc/pwd-unreadable-parent (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr pwd (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Jim Meyering. readlink (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Dmitry V. Levin. =2E/misc/pwd-unreadable-parent: skipping test: vendor getcwd may be inadequ= ate =2E/misc/pwd-unreadable-parent: skipping test: vendor getcwd may be inadequ= ate SKIP: misc/cat-proc (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr cat (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund and Richard M. Stallman. =2E/misc/cat-proc: skipping test: no /proc/cpuinfo =2E/misc/cat-proc: skipping test: no /proc/cpuinfo SKIP: misc/id-context (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr id (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . 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. grep: can't open /proc/filesystems =2E/misc/id-context: skipping test: this system lacks SELinux support =2E/misc/id-context: skipping test: this system lacks SELinux support =46AIL: misc/printf-surprise (exit: 1) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr printf (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie. SKIP: misc/sort-benchmark-random (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr sort (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Haertel and Paul Eggert. =2E/misc/sort-benchmark-random: skipping test: very expensive: disabled by = default =2E/misc/sort-benchmark-random: skipping test: very expensive: disabled by = default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=3Dyes make check SKIP: misc/sort-compress-hang (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr sort (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Haertel and Paul Eggert. =2E/misc/sort-compress-hang: skipping test: very expensive: disabled by def= ault =2E/misc/sort-compress-hang: skipping test: very expensive: disabled by def= ault This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=3Dyes make check SKIP: misc/sort-compress-proc (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr sort (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Haertel and Paul Eggert. =2E/misc/sort-compress-proc: skipping test: expensive: disabled by default =2E/misc/sort-compress-proc: skipping test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check SKIP: misc/sort-month (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr sort (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Haertel and Paul Eggert. =2E/misc/sort-month: skipping test: The locale utility is not present =2E/misc/sort-month: skipping test: The locale utility is not present SKIP: misc/sort-stale-thread-mem (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr sort (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Haertel and Paul Eggert. =2E/misc/sort-stale-thread-mem: skipping test: very expensive: disabled by = default =2E/misc/sort-stale-thread-mem: skipping test: very expensive: disabled by = default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=3Dyes make check SKIP: misc/stat-nanoseconds (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2E/misc/stat-nanoseconds[19]: print_ver_: not found. =2E/misc/stat-nanoseconds: line 19: print_ver_: command not found using SHELL=3D/bin/sh with 'set -x' corrupts stderr stat-nanoseconds: skipped test: this file system does not support sub-secon= d time stamps SKIP: misc/stdbuf (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr env: stdbuf: No such file or directory mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. stdbuf: not built =2E/misc/stdbuf: skipping test: required program(s) not built =2E/misc/stdbuf: skipping test: required program(s) not built SKIP: misc/su-fail (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr su (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie. su: not built =2E/misc/su-fail: skipping test: required program(s) not built =2E/misc/su-fail: skipping test: required program(s) not built SKIP: misc/tac-continue (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr tac (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Jay Lepreau and David MacKenzie. =2E/misc/tac-continue: skipping test: FULL_PARTITION_TMPDIR not defined =2E/misc/tac-continue: skipping test: FULL_PARTITION_TMPDIR not defined SKIP: misc/tty-eof (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D tty-eof: this script requires Perl's Expect package >=3D1.11 SKIP: misc/xattr (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. install (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie. cp: cannot preserve extended attributes, cp is built without xattr support =2E/misc/xattr: skipping test: coreutils built without xattr support =2E/misc/xattr: skipping test: coreutils built without xattr support SKIP: cp/acl (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. env: getfacl: No such file or directory env: setfacl: No such file or directory =2E/cp/acl: skipping test: This test requires getfacl and setfacl. =2E/cp/acl: skipping test: This test requires getfacl and setfacl. SKIP: cp/existing-perm-race (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/cp/existing-perm-race: skipping test: requires membership in two groups =2E/cp/existing-perm-race: skipping test: requires membership in two groups this test requires that you be a member of more than one group, but running `id -G' either failed or found just one. If you really are a member of at least two groups, then rerun this test with COREUTILS_GROUPS set in your environment to the space-separated list of group names or numbers. E.g., env COREUTILS_GROUPS=3Dusers cdrom make check SKIP: cp/fiemap-empty (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/cp/fiemap-empty: skipping test: disabled for now =2E/cp/fiemap-empty: skipping test: disabled for now SKIP: cp/fiemap-perf (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 318: python: command not found fiemap_capable_: python missing: assuming not fiemap capable fiemap-perf: skipped test: this file system lacks FIEMAP support SKIP: cp/fiemap-2 (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 318: python: command not found fiemap_capable_: python missing: assuming not fiemap capable fiemap-2: skipped test: this file system lacks FIEMAP support SKIP: cp/file-perm-race (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/cp/file-perm-race: skipping test: This test must be run on a local file= system. =2E/cp/file-perm-race: skipping test: This test must be run on a local file= system. SKIP: cp/link-symlink (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. touch: setting times of `link': Function is not available =2E/cp/link-symlink: skipping test: Your system doesn't support updating sy= mlink timestamps =2E/cp/link-symlink: skipping test: Your system doesn't support updating sy= mlink timestamps SKIP: cp/parent-perm (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/cp/parent-perm: skipping test: This test must be run on a local file sy= stem. =2E/cp/parent-perm: skipping test: This test must be run on a local file sy= stem. SKIP: cp/parent-perm-race (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/cp/parent-perm-race: skipping test: This test must be run on a local fi= le system. =2E/cp/parent-perm-race: skipping test: This test must be run on a local fi= le system. SKIP: cp/perm (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. =2E/cp/perm: skipping test: very expensive: disabled by default =2E/cp/perm: skipping test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=3Dyes make check SKIP: cp/preserve-2 (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/cp/preserve-2: skipping test: This test must be run on a local file sys= tem. =2E/cp/preserve-2: skipping test: This test must be run on a local file sys= tem. SKIP: cp/preserve-slink-time (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/cp/preserve-slink-time: skipping test: this system lacks the utimensat = function =2E/cp/preserve-slink-time: skipping test: this system lacks the utimensat = function SKIP: cp/proc-short-read (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/cp/proc-short-read: skipping test: your system lacks /proc/kallsyms =2E/cp/proc-short-read: skipping test: your system lacks /proc/kallsyms =46AIL: dd/nocache (exit: 1) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr dd (coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, and Stuart Kemp. 0+0 records in 0+0 records out 0 bytes (0 B) copied, 2.6642e-05 s, 0.0 kB/s 0+0 records in 0+0 records out 0 bytes (dd: failed to discard cache for: `standard input': Illegal seek 0+0 records in 0+0 records out 0 bytes (0 B) copied, 0.000298874 s, 0.0 kB/s 0 B) copied, 2.9267e-05 s, 0.0 kB/s dd: cannot combine direct and nocache 100+0 records in 100+0 records out 51200 bytes (51 kB) copied, 0.0111583 s, 4.6 MB/s 100+0 records in 100+0 records out 51200 bytes (51 kB) copied, 0.013861 s, 3.7 MB/s dd: failed to discard cache for: `ofile': Not a typewriter 0+0 records in 0+0 records out 0 bytes (0 B) copied, 0.000311397 s, 0.0 kB/s 10+0 records in 10+0 records out 5120 bytes (5.1 kB) copied, 0.000124194 s, 41.2 MB/s 100+0 records in 100+0 records out 51200 bytes (51 kB) copied, 0.00776564 s, 6.6 MB/s SKIP: du/2g (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr du (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, Paul Eggert, and Jim Meyering. =2E/du/2g: skipping test: very expensive: disabled by default =2E/du/2g: skipping test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=3Dyes make check SKIP: du/bigtime (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr bigtime: skipped test: file system cannot represent big time stamps SKIP: du/fd-leak (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr du (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, Paul Eggert, and Jim Meyering. =2E/du/fd-leak: skipping test: expensive: disabled by default =2E/du/fd-leak: skipping test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check =46AIL: du/inaccessible-cwd (exit: 1) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr du (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, Paul Eggert, and Jim Meyering. du: unable to record current working directory: Permission denied SKIP: du/long-from-unreadable (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr du (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, Paul Eggert, and Jim Meyering. =2E/du/long-from-unreadable: skipping test: This test would fail, since you= r system lacks /proc support. =2E/du/long-from-unreadable: skipping test: This test would fail, since you= r system lacks /proc support. SKIP: du/move-dir-while-traversing (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr du (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, Paul Eggert, and Jim Meyering. =2E/du/move-dir-while-traversing: line 23: python: command not found move-dir-while-traversing: skipped test: python inotify package not install= ed SKIP: du/slink (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr du (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, Paul Eggert, and Jim Meyering. =2E/du/slink: skipping test: This test must be run on a local file system. =2E/du/slink: skipping test: This test must be run on a local file system. SKIP: id/no-context (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr id (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . 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. grep: can't open /proc/filesystems =2E/id/no-context: skipping test: this system lacks SELinux support =2E/id/no-context: skipping test: this system lacks SELinux support SKIP: install/install-C-selinux (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr install (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie. grep: can't open /proc/filesystems =2E/install/install-C-selinux: skipping test: this system lacks SELinux sup= port =2E/install/install-C-selinux: skipping test: this system lacks SELinux sup= port SKIP: ls/no-cap (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr ls (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Richard M. Stallman and David MacKenzie. =2E/ls/no-cap: skipping test: no strace program =2E/ls/no-cap: skipping test: no strace program SKIP: ls/stat-dtype (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr ls (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Richard M. Stallman and David MacKenzie. =2E/ls/stat-dtype: skipping test: '.' is not on a suitable file system for = this test =2E/ls/stat-dtype: skipping test: '.' is not on a suitable file system for = this test SKIP: ls/stat-free-symlinks (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr ls (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Richard M. Stallman and David MacKenzie. =2E/ls/stat-free-symlinks: skipping test: no strace program =2E/ls/stat-free-symlinks: skipping test: no strace program SKIP: mkdir/selinux (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr mkdir (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie. mkfifo (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie. mknod (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie. =2E/init.cfg: line 76: getenforce: command not found =2E/mkdir/selinux: skipping test: This test is useful only with SELinux in = Enforcing mode. =2E/mkdir/selinux: skipping test: This test is useful only with SELinux in = Enforcing mode. SKIP: mv/acl (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. env: getfacl: No such file or directory env: setfacl: No such file or directory =2E/mv/acl: skipping test: This test requires getfacl and setfacl. =2E/mv/acl: skipping test: This test requires getfacl and setfacl. SKIP: mv/atomic (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. =2E/mv/atomic: skipping test: no strace program =2E/mv/atomic: skipping test: no strace program SKIP: mv/atomic2 (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. =2E/mv/atomic2: skipping test: no strace program =2E/mv/atomic2: skipping test: no strace program SKIP: mv/i-3 (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. =2E/mv/i-3: skipping test: there is no /dev/stdin file =2E/mv/i-3: skipping test: there is no /dev/stdin file SKIP: mv/leak-fd (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. + expensive_ + test '' '!=3D' yes + skip_test_ 'expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check ' + echo './mv/leak-fd: skipping test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check ' + head -1 =2E/mv/leak-fd: skipping test: expensive: disabled by default + echo './mv/leak-fd: skipping test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check ' =2E/mv/leak-fd: skipping test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=3D77 + cleanup_ + rm -rf /tmp/tmp11471 + cd /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests + chmod -R u+rwx /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/test= s/gt-leak-fd.YKji + rm -rf /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests/gt-lea= k-fd.YKji + exit 77 SKIP: mv/part-symlink (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. + require_local_dir_ + is_local_dir_ . + test 1 =3D 1 + df --local . + skip_test_ 'This test must be run on a local file system.' + echo './mv/part-symlink: skipping test: This test must be run on a local = file system.' + head -1 =2E/mv/part-symlink: skipping test: This test must be run on a local file s= ystem. + echo './mv/part-symlink: skipping test: This test must be run on a local = file system.' =2E/mv/part-symlink: skipping test: This test must be run on a local file s= ystem. + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=3D77 + cleanup_ + rm -rf /tmp/tmp12385 + cd /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests + chmod -R u+rwx /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/test= s/gt-part-symlink.J07X + rm -rf /home/haible/multibuild-1080/hpux11.31/coreutils-8.12/tests/gt-par= t-symlink.J07X + exit 77 SKIP: tail-2/assert-2 (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr tail (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering. =2E/tail-2/assert-2: skipping test: very expensive: disabled by default =2E/tail-2/assert-2: skipping test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=3Dyes make check SKIP: tail-2/big-4gb (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr tail (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering. =2E/tail-2/big-4gb: skipping test: expensive: disabled by default =2E/tail-2/big-4gb: skipping test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=3Dyes make check SKIP: touch/no-dereference (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr touch (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, Arnold Robbins, Jim Kingdon, David MacKenzie, and Randy Smith. =2E/touch/no-dereference: skipping test: this system lacks the utimensat fu= nction =2E/touch/no-dereference: skipping test: this system lacks the utimensat fu= nction SKIP: chown/basic (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr chgrp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie and Jim Meyering. =2E/chown/basic: skipping test: must be run as root =2E/chown/basic: skipping test: must be run as root SKIP: cp/cp-a-selinux (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/cp/cp-a-selinux: skipping test: must be run as root =2E/cp/cp-a-selinux: skipping test: must be run as root SKIP: cp/preserve-gid (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/cp/preserve-gid: skipping test: must be run as root =2E/cp/preserve-gid: skipping test: must be run as root SKIP: cp/special-bits (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/cp/special-bits: skipping test: must be run as root =2E/cp/special-bits: skipping test: must be run as root SKIP: cp/cp-mv-enotsup-xattr (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. =2E/cp/cp-mv-enotsup-xattr: skipping test: must be run as root =2E/cp/cp-mv-enotsup-xattr: skipping test: must be run as root SKIP: cp/capability (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr ls (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Richard M. Stallman and David MacKenzie. =2E/cp/capability: skipping test: must be run as root =2E/cp/capability: skipping test: must be run as root SKIP: cp/sparse-fiemap (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. =2E/init.cfg: line 318: python: command not found fiemap_capable_: python missing: assuming not fiemap capable =2E/cp/sparse-fiemap: skipping test: current file system has insufficient F= IEMAP support =2E/cp/sparse-fiemap: skipping test: current file system has insufficient F= IEMAP support SKIP: dd/skip-seek-past-dev (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr dd (coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, and Stuart Kemp. =2E/dd/skip-seek-past-dev: skipping test: must be run as root =2E/dd/skip-seek-past-dev: skipping test: must be run as root SKIP: install/install-C-root (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr install (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie. =2E/install/install-C-root: skipping test: must be run as root =2E/install/install-C-root: skipping test: must be run as root SKIP: ls/capability (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr ls (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Richard M. Stallman and David MacKenzie. =2E/ls/capability: skipping test: must be run as root =2E/ls/capability: skipping test: must be run as root SKIP: ls/nameless-uid (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr ls (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Richard M. Stallman and David MacKenzie. =2E/ls/nameless-uid: skipping test: must be run as root =2E/ls/nameless-uid: skipping test: must be run as root SKIP: misc/chcon (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr chcon (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Russell Coker and Jim Meyering. =2E/misc/chcon: skipping test: must be run as root =2E/misc/chcon: skipping test: must be run as root SKIP: misc/chroot-credentials (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr chroot (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Roland McGrath. =2E/misc/chroot-credentials: skipping test: must be run as root =2E/misc/chroot-credentials: skipping test: must be run as root SKIP: misc/selinux (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr chcon (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Russell Coker and Jim Meyering. cp (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbj=CErn Granlund, David MacKenzie, and Jim Meyering. ls (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Richard M. Stallman and David MacKenzie. mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. stat (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Michael Meskes. =2E/misc/selinux: skipping test: must be run as root =2E/misc/selinux: skipping test: must be run as root SKIP: misc/truncate-owned-by-other (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr truncate (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by P=C4draig Brady. =2E/misc/truncate-owned-by-other: skipping test: must be run as root =2E/misc/truncate-owned-by-other: skipping test: must be run as root SKIP: mkdir/writable-under-readonly (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr mkdir (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie. =2E/mkdir/writable-under-readonly: skipping test: must be run as root =2E/mkdir/writable-under-readonly: skipping test: must be run as root SKIP: mv/sticky-to-xpart (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr mv (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. =2E/mv/sticky-to-xpart: skipping test: must be run as root =2E/mv/sticky-to-xpart: skipping test: must be run as root SKIP: rm/fail-2eperm (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr rm (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering. =2E/rm/fail-2eperm: skipping test: must be run as root =2E/rm/fail-2eperm: skipping test: must be run as root SKIP: rm/no-give-up (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr rm (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering. =2E/rm/no-give-up: skipping test: must be run as root =2E/rm/no-give-up: skipping test: must be run as root SKIP: rm/one-file-system (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr rm (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering. =2E/rm/one-file-system: skipping test: must be run as root =2E/rm/one-file-system: skipping test: must be run as root SKIP: rm/read-only (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr rm (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering. =2E/rm/read-only: skipping test: must be run as root =2E/rm/read-only: skipping test: must be run as root SKIP: tail-2/append-only (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr tail (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering. =2E/tail-2/append-only: skipping test: must be run as root =2E/tail-2/append-only: skipping test: must be run as root SKIP: touch/now-owned-by-other (exit: 77) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D using SHELL=3D/bin/sh with 'set -x' corrupts stderr touch (GNU coreutils) 8.12 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, Arnold Robbins, Jim Kingdon, David MacKenzie, and Randy Smith. =2E/touch/now-owned-by-other: skipping test: must be run as root =2E/touch/now-owned-by-other: skipping test: must be run as root --Boundary-00=_BNm9N6BDV6iAHwe-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 15:45:40 2011 Received: (at 8846) by debbugs.gnu.org; 13 Jun 2011 19:45:40 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWD4t-0002wN-QN for submit@debbugs.gnu.org; Mon, 13 Jun 2011 15:45:40 -0400 Received: from mx.meyering.net ([82.230.74.64]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWD4r-0002wA-2p for 8846@debbugs.gnu.org; Mon, 13 Jun 2011 15:45:39 -0400 Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id EBA7D6019A; Mon, 13 Jun 2011 21:45:30 +0200 (CEST) From: Jim Meyering To: Bruno Haible Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed In-Reply-To: <201106132121.37955.bruno@clisp.org> (Bruno Haible's message of "Mon, 13 Jun 2011 21:21:36 +0200") References: <201106131115.28601.bruno@clisp.org> <4DF63105.8040102@redhat.com> <87wrgpd5td.fsf@rho.meyering.net> <201106132121.37955.bruno@clisp.org> Date: Mon, 13 Jun 2011 21:45:30 +0200 Message-ID: <87zkllbjmt.fsf@rho.meyering.net> Lines: 72 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: 8846 Cc: Eric Blake , 8846@debbugs.gnu.org, =?iso-8859-1?Q?P=E1draig?= Brady , stefano.lattarini@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.0 (------) Bruno Haible wrote: > Jim Meyering wrote: >> --- a/tests/init.sh >> +++ b/tests/init.sh >> @@ -317,6 +317,11 @@ path_prepend_ () >> >> =A0setup_ () >> =A0{ >> + =A0# If we're redirecting a file descriptor larger than 2, say via aut= omake's >> + =A0# TESTS_ENVIRONMENT, that redirected FD is closed-on-exec on some s= ystems >> + =A0# (at least Solaris 10 and HP-UX 11.x), so redirect it here again. >> + =A0test $stderr_fileno_ =3D 2 || eval "exec $stderr_fileno_>&2" >> + >> =A0 =A0if test "$VERBOSE" =3D yes; then >> =A0 =A0 =A0# Test whether set -x may cause the selected shell to corrupt= an >> =A0 =A0 =A0# application's stderr. =A0Many do, including zsh-4.3.10 and = the /bin/sh > > With this change, I get the attached log on HP-UX 11.31. > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > GNU coreutils 8.12: tests/test-suite.log > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > 3 of 365 tests failed. (88 tests were not run). ... Hi Bruno, Thanks for persevering. That confirms the init.sh change solves one problem. However, HP's /bin/sh has the bug that set -x corrupts stderr, and in that case, init.sh decides not to honor VERBOSE=3Dyes because that led inevitably to numerous false positives due to the bug. The easiest way to work around that is to use some other shell. If you have bash, you might want to run this (but see below): sh=3D/usr/local/bin/bash make CONFIG_SHELL=3D$sh CONFIG_SHELL=3D$sh VERBOSE=3Dyes \ check -C tests TESTS=3D'misc/printf-surprise du/inaccessible-cwd' > FAIL: dd/nocache (exit: 1) ... P=E1draig's patch should have resolved this. > FAIL: du/inaccessible-cwd (exit: 1) This failure may be expected on HP-UX, assuming it lacks the *at functions and its getcwd doesn't have the feature that Linux and others do of working even in an inaccessible directory. That leaves this one: > FAIL: misc/printf-surprise (exit: 1) > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Which may be failing because the ulimit of 10MiB is too low: head -c 10 fifo > out & ( ulimit -v 10000; env $prog %20000000f 0 2>err-msg > fifo ) exit=3D$? Can you try it manually? E.g., run these commands and report the output? mkfifo fifo head -c 10 fifo > out & ( ulimit -v 10000; env printf %20000000f 0 2>err-msg > fifo ) exit=3D$? n_out=3D$(wc -c < out) echo "$n_out::$exit" cat err-msg From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 16:32:50 2011 Received: (at 8846) by debbugs.gnu.org; 13 Jun 2011 20:32:51 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWDoY-0003xF-E7 for submit@debbugs.gnu.org; Mon, 13 Jun 2011 16:32:50 -0400 Received: from mail-wy0-f172.google.com ([74.125.82.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWDoW-0003x2-20 for 8846@debbugs.gnu.org; Mon, 13 Jun 2011 16:32:48 -0400 Received: by wyb29 with SMTP id 29so3745274wyb.3 for <8846@debbugs.gnu.org>; Mon, 13 Jun 2011 13:32:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; bh=CKhfQUmgzidz42ZVqvwLjwokzZwGiJksUusVJuBwsas=; b=rxuBfn+ZFIGy25FdegfjUA3SXQZgg+1LmTAdMB5OtrACrAprnkKMyjv1/0UvxXeCSG vESPHTJcyMRjGP5oH5nv5QnO7C/S/+syHp8+x2s6yHmLyX/qGK09dvjFjsQYEM3w6lYM EC3jN02aq6TysvX8mOatn48i7aoHB0B5+W4do= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=LODOX+22EFqAP0atX+SX7MTKjlqdOW2VrJidKzNu49RSbqukpvvA3YEtLbifjiiT7c df2F6B+zqF1WptrSsy7BdwKboU8R4d4nhJaeFtP1YCGk802DbBLN+rUvfwjWSxYAfscw elbM/Id6SYlm76Mj7ewaqdkTdOTnFHEQ1Aq8s= Received: by 10.227.206.82 with SMTP id ft18mr5451995wbb.64.1307997162100; Mon, 13 Jun 2011 13:32:42 -0700 (PDT) Received: from bigio.localnet (host182-92-dynamic.4-87-r.retail.telecomitalia.it [87.4.92.182]) by mx.google.com with ESMTPS id gb6sm4494934wbb.0.2011.06.13.13.32.39 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 13 Jun 2011 13:32:40 -0700 (PDT) From: Stefano Lattarini To: Jim Meyering Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed Date: Mon, 13 Jun 2011 22:32:31 +0200 User-Agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) References: <201106131115.28601.bruno@clisp.org> <4DF63105.8040102@redhat.com> <87wrgpd5td.fsf@rho.meyering.net> In-Reply-To: <87wrgpd5td.fsf@rho.meyering.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201106132232.32162.stefano.lattarini@gmail.com> X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: 8846 Cc: Bruno Haible , bug-autoconf@gnu.org, 8846@debbugs.gnu.org, Eric Blake X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.8 (---) Hi Jim. Probably you're totally going to hate me today, but ... On Monday 13 June 2011, Jim Meyering wrote: > > From d987cf87de5e7e597e295914c536bd332c24cc63 Mon Sep 17 00:00:00 2001 > From: Jim Meyering > Date: Mon, 13 Jun 2011 18:54:53 +0200 > Subject: [PATCH] init.sh: redirect FD 9 to stderr again, for Solaris 10 and HP-UX > > * tests/init.sh (setup_): When $stderr_fileno_ is not 2, redirect it. > Prior to this change, we would redirect before the shell fork-and-exec > performed via automake's TESTS_ENVIRONMENT, but that redirection was > ineffective on Solaris 10 and HP-UX 11.31, due to the fact that those > systems set the CLOEXEC bit on FDs larger than 2. Thus our redirection > of FD 9 would not survive the fork-and-exec of running each test script. > --- > tests/init.sh | 5 +++++ > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/tests/init.sh b/tests/init.sh > index 60d1bc1..d101643 100644 > --- a/tests/init.sh > +++ b/tests/init.sh > @@ -317,6 +317,11 @@ path_prepend_ () > > setup_ () > { > + # If we're redirecting a file descriptor larger than 2, say via automake's > + # TESTS_ENVIRONMENT, that redirected FD is closed-on-exec on some systems > + # (at least Solaris 10 and HP-UX 11.x), so redirect it here again. > + test $stderr_fileno_ = 2 || eval "exec $stderr_fileno_>&2" > + > ... isn't this equivalent to just using ">&2" unconditionally in 'warn_()'? IMHO, the right fix is to to modify the code in TESTS_ENVIRONMENT to avoid the definition of $stderr_fileno_ the shell performs closed-on-exec; e.g., TESTS_ENVIRONMENT = ...; \ if test x"`(exec 9>&1 && sh -c 'echo foo >&9' >/dev/null 2>&1)`" = x'foo'; then stderr_fileno_=9; export stderr_fileno_; else unset stderr_fileno_ || : fi If we know that bash and zsh are well behaved, we can even avoid a couple of forks (Cygwin users won't hate us too much then): TESTS_ENVIRONMENT = ...; \ if test -n "$${ZSH_VERSION}$${BASH_VERSION}" || \ test x"`(exec 9>&1 && sh -c 'echo foo >&9' >/dev/null 2>&1)`" = x'foo' then stderr_fileno_=9; export stderr_fileno_; else unset stderr_fileno_ || : fi A better fix would be to do the redirect $stderr_fileno_>&2 in tess/init.sh iff $stderr_fileno_ is closed, but how can that be portably determined without printing trash on the user screen (and for *each* test)? > if test "$VERBOSE" = yes; then > # Test whether set -x may cause the selected shell to corrupt an > # application's stderr. Many do, including zsh-4.3.10 and the /bin/sh > -- > 1.7.6.rc0.293.g40857 > Regards, Stefano From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 16:41:22 2011 Received: (at 8846) by debbugs.gnu.org; 13 Jun 2011 20:41:22 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWDwn-0004BE-Us for submit@debbugs.gnu.org; Mon, 13 Jun 2011 16:41:22 -0400 Received: from mail-wy0-f172.google.com ([74.125.82.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWDwm-0004B1-LS for 8846@debbugs.gnu.org; Mon, 13 Jun 2011 16:41:21 -0400 Received: by wyb29 with SMTP id 29so3750474wyb.3 for <8846@debbugs.gnu.org>; Mon, 13 Jun 2011 13:41:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; bh=KdZKevVZ/u3mK55u9b8OF/UL7lGu+s0LzBjOzMFwtcc=; b=nHD2wzn2FivUu5iwz8eHNwLtbcbkJRGJz+o7RuD7XjsSqamvlZ66S7U9eprh+tZJ36 nuWE+nuFgklb0Aj6D7OLzDWpmlfUC6brDervEQiBQRiJbj3o1gXXbYRZF9eXdnK/9mma qOP1bspRG+QLiZHHLTeiu26/QExZ9Re/sZXII= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=qn6XRqkdLP0t4++rrNn5pYJPmBKi7SjIU+pF57zXjUXRk957QeHnmpTCxNGyBBlbdC L9dYv6D+2GQkBYaL5eyLA8l3A8IDrdWSd2v3EALVYK/zLRapElPosPLYp90upU28v5Ou Pck3PqkUv417+ZUypQMBqhecWRQaznAiDqxH0= Received: by 10.227.209.129 with SMTP id gg1mr5468370wbb.65.1307997674923; Mon, 13 Jun 2011 13:41:14 -0700 (PDT) Received: from bigio.localnet (host182-92-dynamic.4-87-r.retail.telecomitalia.it [87.4.92.182]) by mx.google.com with ESMTPS id et5sm4497728wbb.50.2011.06.13.13.41.12 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 13 Jun 2011 13:41:13 -0700 (PDT) From: Stefano Lattarini To: Jim Meyering Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed Date: Mon, 13 Jun 2011 22:41:04 +0200 User-Agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) References: <201106131115.28601.bruno@clisp.org> <87wrgpd5td.fsf@rho.meyering.net> <201106132232.32162.stefano.lattarini@gmail.com> In-Reply-To: <201106132232.32162.stefano.lattarini@gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201106132241.05418.stefano.lattarini@gmail.com> X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: 8846 Cc: Bruno Haible , bug-autoconf@gnu.org, 8846@debbugs.gnu.org, Eric Blake X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.8 (---) On Monday 13 June 2011, Stefano Lattarini wrote: > Hi Jim. Probably you're totally going to hate me today, but ... > > On Monday 13 June 2011, Jim Meyering wrote: > > > > From d987cf87de5e7e597e295914c536bd332c24cc63 Mon Sep 17 00:00:00 2001 > > From: Jim Meyering > > Date: Mon, 13 Jun 2011 18:54:53 +0200 > > Subject: [PATCH] init.sh: redirect FD 9 to stderr again, for Solaris 10 and HP-UX > > > > * tests/init.sh (setup_): When $stderr_fileno_ is not 2, redirect it. > > Prior to this change, we would redirect before the shell fork-and-exec > > performed via automake's TESTS_ENVIRONMENT, but that redirection was > > ineffective on Solaris 10 and HP-UX 11.31, due to the fact that those > > systems set the CLOEXEC bit on FDs larger than 2. Thus our redirection > > of FD 9 would not survive the fork-and-exec of running each test script. > > --- > > tests/init.sh | 5 +++++ > > 1 files changed, 5 insertions(+), 0 deletions(-) > > > > diff --git a/tests/init.sh b/tests/init.sh > > index 60d1bc1..d101643 100644 > > --- a/tests/init.sh > > +++ b/tests/init.sh > > @@ -317,6 +317,11 @@ path_prepend_ () > > > > setup_ () > > { > > + # If we're redirecting a file descriptor larger than 2, say via automake's > > + # TESTS_ENVIRONMENT, that redirected FD is closed-on-exec on some systems > > + # (at least Solaris 10 and HP-UX 11.x), so redirect it here again. > > + test $stderr_fileno_ = 2 || eval "exec $stderr_fileno_>&2" > > + > > > ... isn't this equivalent to just using ">&2" unconditionally in 'warn_()'? > > IMHO, the right fix is to to modify the code in TESTS_ENVIRONMENT to avoid the > definition of $stderr_fileno_ the shell performs closed-on-exec; e.g., > > TESTS_ENVIRONMENT = ...; \ > if test x"`(exec 9>&1 && sh -c 'echo foo >&9' >/dev/null 2>&1)`" = x'foo'; then > stderr_fileno_=9; export stderr_fileno_; > else > unset stderr_fileno_ || : > fi > > If we know that bash and zsh are well behaved, we can even avoid a couple of > forks (Cygwin users won't hate us too much then): > > TESTS_ENVIRONMENT = ...; \ > if test -n "$${ZSH_VERSION}$${BASH_VERSION}" || \ > test x"`(exec 9>&1 && sh -c 'echo foo >&9' >/dev/null 2>&1)`" = x'foo' > then > stderr_fileno_=9; export stderr_fileno_; > else > unset stderr_fileno_ || : > fi > > A better fix would be to do the redirect $stderr_fileno_>&2 in tess/init.sh > iff $stderr_fileno_ is closed, but how can that be portably determined > without printing trash on the user screen (and for *each* test)? > But this last observaton makes me think. The only purpose of $stderr_fileno_ is to allow the test to print diagnostic on the user's tty, instead of burying it in the test logs; at this point, we might do the redirection only if the fd 2 is a tty, so that we will know that, in `tests/init.sh', either: [1] $stderr_fileno_ refers to a tty, even after the automake parallel-tests driver has made its own redirections; or: [2] $stderr_fileno_ is simply the file descriptor 2, which is expected to be open for writing in any remotely sane setup. Then we can test, from within tests/init.sh, whether $stderr_fileno_ has been closed or not by doing: test 2 -eq "$stderr_fileno_" || test -t "$stderr_fileno_" and if this is not the case, we eval "exec $stderr_fileno_ >&2" and live happily. All without extra forks or overly complex `TESTS_ENVIRONMENT' definitions. WDYT? Regards, Stefano From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 16:46:52 2011 Received: (at 8846) by debbugs.gnu.org; 13 Jun 2011 20:46:52 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWE27-0004Iv-Kr for submit@debbugs.gnu.org; Mon, 13 Jun 2011 16:46:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWE24-0004Ii-SO for 8846@debbugs.gnu.org; Mon, 13 Jun 2011 16:46:50 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p5DKkf6N017766 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 13 Jun 2011 16:46:41 -0400 Received: from [10.3.113.153] (ovpn-113-153.phx2.redhat.com [10.3.113.153]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p5DKkdEa020775; Mon, 13 Jun 2011 16:46:40 -0400 Message-ID: <4DF6772F.7080007@redhat.com> Date: Mon, 13 Jun 2011 14:46:39 -0600 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10 MIME-Version: 1.0 To: Stefano Lattarini Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed References: <201106131115.28601.bruno@clisp.org> <4DF63105.8040102@redhat.com> <87wrgpd5td.fsf@rho.meyering.net> <201106132232.32162.stefano.lattarini@gmail.com> In-Reply-To: <201106132232.32162.stefano.lattarini@gmail.com> X-Enigmail-Version: 1.1.2 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig0D84B727F36D170EE85D557F" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Spam-Score: -10.3 (----------) X-Debbugs-Envelope-To: 8846 Cc: 8846@debbugs.gnu.org, bug-autoconf@gnu.org, Bruno Haible , Jim Meyering X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -10.3 (----------) This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig0D84B727F36D170EE85D557F Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 06/13/2011 02:32 PM, Stefano Lattarini wrote: >> +++ b/tests/init.sh >> @@ -317,6 +317,11 @@ path_prepend_ () >> >> setup_ () >> { >> + # If we're redirecting a file descriptor larger than 2, say via aut= omake's >> + # TESTS_ENVIRONMENT, that redirected FD is closed-on-exec on some s= ystems >> + # (at least Solaris 10 and HP-UX 11.x), so redirect it here again. >> + test $stderr_fileno_ =3D 2 || eval "exec $stderr_fileno_>&2" >> + >> > ... isn't this equivalent to just using ">&2" unconditionally in 'warn_= ()'? Not quite, in coreutils' current usage. Coreutils sets stderr_fileno_=3D9 in init.cfg, not TESTS_ENVIRONMENT; which means that stderr can be changed after a call to setup_ but before a call to warn_. Thus, we want to output to $stderr_fileno_ (which is 9, and is always the original stderr), even during a test where stderr has been redirected somewhere else. >=20 > IMHO, the right fix is to to modify the code in TESTS_ENVIRONMENT to av= oid the > definition of $stderr_fileno_ the shell performs closed-on-exec; e.g., >=20 > TESTS_ENVIRONMENT =3D ...; \ > if test x"`(exec 9>&1 && sh -c 'echo foo >&9' >/dev/null 2>&1)`" =3D= x'foo'; then > stderr_fileno_=3D9; export stderr_fileno_; > else > unset stderr_fileno_ || : > fi But setting things during TESTS_ENVIRONMENT does seem a bit more robust. Or rather, I think that the best action is to set stderr_fileno_ alongside the code that does the redirection; if it is TESTS_ENVIRONMENT that does the exec 9>&2, then TESTS_ENVIRONMENT does seem like the saner place (rather than init.cfg) for setting stderr_fileno_. >=20 > If we know that bash and zsh are well behaved, we can even avoid a coup= le of > forks (Cygwin users won't hate us too much then): >=20 > TESTS_ENVIRONMENT =3D ...; \ > if test -n "$${ZSH_VERSION}$${BASH_VERSION}" || \ > test x"`(exec 9>&1 && sh -c 'echo foo >&9' >/dev/null 2>&1)`" =3D= x'foo' > then > stderr_fileno_=3D9; export stderr_fileno_; > else > unset stderr_fileno_ || : > fi >=20 > A better fix would be to do the redirect $stderr_fileno_>&2 in tess/ini= t.sh > iff $stderr_fileno_ is closed, but how can that be portably determined > without printing trash on the user screen (and for *each* test)? Not possible to portably sniff out closed fds; quoting the autoconf manua= l: > Don't rely on duplicating a closed file descriptor to cause an > error. With Solaris @command{/bin/sh}, when the redirection fails, the= > output goes to the original file descriptor. --=20 Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enig0D84B727F36D170EE85D557F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJN9ncvAAoJEKeha0olJ0NqBz0H/RyfHw/1Tr5lmjFFbdsFNas4 jrwND84bTV7Kgi0cVzEGEfr3aJtUPg1UwQw1emZSWFIGCEsu+pGixSjpZnS7Jl/J rXtPfNK6Y6CzncPbPHwM7lHKHZDhGlEyyQiWg8ocr+DrTYvswhX1q3o5JlvGjT3y 1epkcyz7qCuX8jKPWKwULG6b8gQTepR+Z2HfEdodZ8HqgJlM6YGTxx9alsEZI+F1 I//LRA6U+WkVv8qK+Lah40F/GdLnWJtkH8IOBUDLA/hc5SoUD7EF5jh8MGXY6sGT MF3+NCbCD2UkZK8zyC/VZWKF2GyP87Oz90coyX658CUFA+2zLJid626A+R3Y5YI= =8S4c -----END PGP SIGNATURE----- --------------enig0D84B727F36D170EE85D557F-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 17:40:09 2011 Received: (at 8846) by debbugs.gnu.org; 13 Jun 2011 21:40:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWErg-0005SD-TO for submit@debbugs.gnu.org; Mon, 13 Jun 2011 17:40:09 -0400 Received: from mail-wy0-f172.google.com ([74.125.82.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWErd-0005Re-QC for 8846@debbugs.gnu.org; Mon, 13 Jun 2011 17:40:07 -0400 Received: by wyb29 with SMTP id 29so3785475wyb.3 for <8846@debbugs.gnu.org>; Mon, 13 Jun 2011 14:40:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; bh=kJbOKJG2xojhWxkTzMoiJe611p8nWeoUSLirJYedaDI=; b=DKymyLuLyjSb0dxwA+faYieaqYgmCKpBfglAS+W4qYnCO/USUN9VVovYsBUk0Jf6RN QAz7w2McPgA55caoXxJ+00rVH2ZEBzDDAl1Kj9Fvt6HLNP46ogrjXn9a/JCQAom95x6W xLtZ2ZM291lePGyFeJQiMjCeurIjHBP2A6DcA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=GVyRHilgZFhp95/8Bdq7pvPytI/f3rdyAGEzRUtkWl4q1wtLp5cunDpWvKymT63C/j rgpZpzFUTVLIaIZwLIKTGMD+EMn0cnfchzDmkDEcXaYnhEHDEie5c+M3b3ethU2iO0Z1 ZiqxQpMeHXUt47YeVdDc3HtShdD+GU3+eQtlA= Received: by 10.227.148.136 with SMTP id p8mr5467050wbv.28.1308001199916; Mon, 13 Jun 2011 14:39:59 -0700 (PDT) Received: from bigio.localnet (host182-92-dynamic.4-87-r.retail.telecomitalia.it [87.4.92.182]) by mx.google.com with ESMTPS id en1sm4531852wbb.18.2011.06.13.14.39.57 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 13 Jun 2011 14:39:58 -0700 (PDT) From: Stefano Lattarini To: Eric Blake Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed Date: Mon, 13 Jun 2011 23:39:34 +0200 User-Agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) References: <201106131115.28601.bruno@clisp.org> <201106132232.32162.stefano.lattarini@gmail.com> <4DF6772F.7080007@redhat.com> In-Reply-To: <4DF6772F.7080007@redhat.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201106132339.35309.stefano.lattarini@gmail.com> X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: 8846 Cc: 8846@debbugs.gnu.org, bug-autoconf@gnu.org, Bruno Haible , Jim Meyering X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.8 (---) On Monday 13 June 2011, Eric Blake wrote: > On 06/13/2011 02:32 PM, Stefano Lattarini wrote: > >> +++ b/tests/init.sh > >> @@ -317,6 +317,11 @@ path_prepend_ () > >> > >> setup_ () > >> { > >> + # If we're redirecting a file descriptor larger than 2, say via automake's > >> + # TESTS_ENVIRONMENT, that redirected FD is closed-on-exec on some systems > >> + # (at least Solaris 10 and HP-UX 11.x), so redirect it here again. > >> + test $stderr_fileno_ = 2 || eval "exec $stderr_fileno_>&2" > >> + > >> > > ... isn't this equivalent to just using ">&2" unconditionally in 'warn_()'? > > Not quite, in coreutils' current usage. > > Coreutils sets stderr_fileno_=9 in init.cfg, not TESTS_ENVIRONMENT; > which means that stderr can be changed after a call to setup_ but before > a call to warn_. > True. I expressed myself badly; my point is, now coreutils will behave as if `$stderr_fileno_' wouldn't have been set in `init.cfg' -- which I reckon is hardly what we want. > Thus, we want to output to $stderr_fileno_ (which is 9, and is always the > original stderr), even during a test where stderr has been redirected > somewhere else. > Then I'm missing something crucial here; my mental picture of what's going on here is the following: [1] TESTS_ENVIRONMENT redirects fd 9 to fd 2, which is the original stderr of the make process (usually a user tty); [2] The automake parallel-tests driver redirect fds 1 and 2 to the .log file associated with the test; but fd 9 still points to the orginal stderr, not to the log file (which is what we want); [3] The $(SHELL), which here we assume is ksh with close-on-exec, does a fork+exec to execute the test script; thus, when that script begins its execution, it has the fd 9 closed (d'oh!, but expected now); [4] the scripts sources init.sh, which in turn: [4.1] sources init.cfg, which defines $stderr_fileno_ to 9 (which, mind you, is a closed fd at this point); [4.2] executes setup_, which sees that $stderr_fileno_ is *not* set to `2', and thus re-define it to `2', thus directing it to the log file. The net outcome is that the original stderr is lost, and that, by default, warn_ and company will output their messages into the log file. If this is the effect we want, we can obtain it much more simply by removing the `exec 9>&2' redirection from TESTS_ENVIRONMENT, and removing the code snippet `test $stderr_fileno_ = 2 || eval "exec $stderr_fileno_>&2"' from tests/init.sh. > > > > IMHO, the right fix is to to modify the code in TESTS_ENVIRONMENT to avoid the > > definition of $stderr_fileno_ the shell performs closed-on-exec; e.g., > > > > TESTS_ENVIRONMENT = ...; \ > > if test x"`(exec 9>&1 && sh -c 'echo foo >&9' >/dev/null 2>&1)`" = x'foo'; then > > stderr_fileno_=9; export stderr_fileno_; > > else > > unset stderr_fileno_ || : > > fi > > But setting things during TESTS_ENVIRONMENT does seem a bit more robust. > Or rather, I think that the best action is to set stderr_fileno_ > alongside the code that does the redirection; if it is TESTS_ENVIRONMENT > that does the exec 9>&2, then TESTS_ENVIRONMENT does seem like the saner > place (rather than init.cfg) for setting stderr_fileno_. > I fully agree with this (even if it won't help in our particualr situation IMHO). > > > > If we know that bash and zsh are well behaved, we can even avoid a couple of > > forks (Cygwin users won't hate us too much then): > > > > TESTS_ENVIRONMENT = ...; \ > > if test -n "$${ZSH_VERSION}$${BASH_VERSION}" || \ > > test x"`(exec 9>&1 && sh -c 'echo foo >&9' >/dev/null 2>&1)`" = x'foo' > > then > > stderr_fileno_=9; export stderr_fileno_; > > else > > unset stderr_fileno_ || : > > fi > > > > A better fix would be to do the redirect $stderr_fileno_>&2 in tess/init.sh > > iff $stderr_fileno_ is closed, but how can that be portably determined > > without printing trash on the user screen (and for *each* test)? > > Not possible to portably sniff out closed fds; quoting the autoconf manual: > > > Don't rely on duplicating a closed file descriptor to cause an > > error. With Solaris @command{/bin/sh}, when the redirection fails, the > > output goes to the original file descriptor. > > I suspected that; see my later mail: for an alternative, simpler proposal. Regards, Stefano From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 18:02:19 2011 Received: (at 8846) by debbugs.gnu.org; 13 Jun 2011 22:02:19 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWFD8-0005vd-II for submit@debbugs.gnu.org; Mon, 13 Jun 2011 18:02:19 -0400 Received: from mail-ww0-f46.google.com ([74.125.82.46]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWFD7-0005vR-75 for 8846@debbugs.gnu.org; Mon, 13 Jun 2011 18:02:18 -0400 Received: by wwb28 with SMTP id 28so4960780wwb.15 for <8846@debbugs.gnu.org>; Mon, 13 Jun 2011 15:02:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; bh=LgM5nUsbgBS3PXK1JRbA2AFhN55UUarh3ySSp3Leolk=; b=rFaHPwTiM3sUo5meybLdoeuLpqbryJV+jdOJJ9NSaVP6zSluNMi+oEHj45oL6zMDT0 jtO5PFxEVNddyFdpt5terzyqxTGFvHB+SpbYsxHsytjGsaIMYJ5vl3mhg6YpYcsrx/Qy kBosfUgWVQ86Rgb5kw5mIvMD775ShJrbr9pmg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=QcWN8g5WS7wuN+zFnxTLlcxp8rraitVziT19whgrVlpCUa+lzV3FBjOsjvONXbVnp6 A5MoXU1yU8NPLdWTuIS5TcdUmuQrwICuIu0OC48IYWZjRWBgWxZ05BT64tYuOAzHI6ux GX7N+RweFKHyln2W5Ni5MGBQkAJXMW3OVLTSw= Received: by 10.216.62.195 with SMTP id y45mr6175805wec.15.1308002531101; Mon, 13 Jun 2011 15:02:11 -0700 (PDT) Received: from bigio.localnet (host182-92-dynamic.4-87-r.retail.telecomitalia.it [87.4.92.182]) by mx.google.com with ESMTPS id z22sm3159683weq.26.2011.06.13.15.02.09 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 13 Jun 2011 15:02:10 -0700 (PDT) From: Stefano Lattarini To: Jim Meyering Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed Date: Tue, 14 Jun 2011 00:01:57 +0200 User-Agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) References: <201106131115.28601.bruno@clisp.org> <201106132232.32162.stefano.lattarini@gmail.com> <201106132241.05418.stefano.lattarini@gmail.com> In-Reply-To: <201106132241.05418.stefano.lattarini@gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201106140001.58368.stefano.lattarini@gmail.com> X-Spam-Score: -3.7 (---) X-Debbugs-Envelope-To: 8846 Cc: Bruno Haible , bug-autoconf@gnu.org, 8846@debbugs.gnu.org, Eric Blake X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.7 (---) On Monday 13 June 2011, Stefano Lattarini wrote: > On Monday 13 June 2011, Stefano Lattarini wrote: > > Hi Jim. Probably you're totally going to hate me today, but ... > > > > On Monday 13 June 2011, Jim Meyering wrote: > > > > > > From d987cf87de5e7e597e295914c536bd332c24cc63 Mon Sep 17 00:00:00 2001 > > > From: Jim Meyering > > > Date: Mon, 13 Jun 2011 18:54:53 +0200 > > > Subject: [PATCH] init.sh: redirect FD 9 to stderr again, for Solaris 10 and HP-UX > > > > > > * tests/init.sh (setup_): When $stderr_fileno_ is not 2, redirect it. > > > Prior to this change, we would redirect before the shell fork-and-exec > > > performed via automake's TESTS_ENVIRONMENT, but that redirection was > > > ineffective on Solaris 10 and HP-UX 11.31, due to the fact that those > > > systems set the CLOEXEC bit on FDs larger than 2. Thus our redirection > > > of FD 9 would not survive the fork-and-exec of running each test script. > > > --- > > > tests/init.sh | 5 +++++ > > > 1 files changed, 5 insertions(+), 0 deletions(-) > > > > > > diff --git a/tests/init.sh b/tests/init.sh > > > index 60d1bc1..d101643 100644 > > > --- a/tests/init.sh > > > +++ b/tests/init.sh > > > @@ -317,6 +317,11 @@ path_prepend_ () > > > > > > setup_ () > > > { > > > + # If we're redirecting a file descriptor larger than 2, say via automake's > > > + # TESTS_ENVIRONMENT, that redirected FD is closed-on-exec on some systems > > > + # (at least Solaris 10 and HP-UX 11.x), so redirect it here again. > > > + test $stderr_fileno_ = 2 || eval "exec $stderr_fileno_>&2" > > > + > > > > > ... isn't this equivalent to just using ">&2" unconditionally in 'warn_()'? > > > > IMHO, the right fix is to to modify the code in TESTS_ENVIRONMENT to avoid the > > definition of $stderr_fileno_ the shell performs closed-on-exec; e.g., > > > > TESTS_ENVIRONMENT = ...; \ > > if test x"`(exec 9>&1 && sh -c 'echo foo >&9' >/dev/null 2>&1)`" = x'foo'; then > > stderr_fileno_=9; export stderr_fileno_; > > else > > unset stderr_fileno_ || : > > fi > > > > If we know that bash and zsh are well behaved, we can even avoid a couple of > > forks (Cygwin users won't hate us too much then): > > > > TESTS_ENVIRONMENT = ...; \ > > if test -n "$${ZSH_VERSION}$${BASH_VERSION}" || \ > > test x"`(exec 9>&1 && sh -c 'echo foo >&9' >/dev/null 2>&1)`" = x'foo' > > then > > stderr_fileno_=9; export stderr_fileno_; > > else > > unset stderr_fileno_ || : > > fi > > > > A better fix would be to do the redirect $stderr_fileno_>&2 in tests/init.sh > > iff $stderr_fileno_ is closed, but how can that be portably determined > > without printing trash on the user screen (and for *each* test)? > > > But this last observaton makes me think. The only purpose of $stderr_fileno_ > is to allow the test to print diagnostic on the user's tty, instead of burying > it in the test logs; at this point, we might do the redirection only if the > fd 2 is a tty, so that we will know that, in `tests/init.sh', either: > [1] $stderr_fileno_ refers to a tty, even after the automake parallel-tests > driver has made its own redirections; or: > [2] $stderr_fileno_ is simply the file descriptor 2, which is expected to be > open for writing in any remotely sane setup. > Then we can test, from within tests/init.sh, whether $stderr_fileno_ has been > closed or not by doing: > test 2 -eq "$stderr_fileno_" || test -t "$stderr_fileno_" > and if this is not the case, we eval "exec $stderr_fileno_ >&2" and live > happily. All without extra forks or overly complex `TESTS_ENVIRONMENT' > definitions. > Only that BSD make and Solaris dmake, when running in concurrent mode, redirect stdout/stderr to temporary files or to named or anonymous pipes (for output serialization); so that my proposed idiom wouldn't work with them. Sigh. Regards, Stefano From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 18:05:42 2011 Received: (at 8846) by debbugs.gnu.org; 13 Jun 2011 22:05:42 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWFGN-000601-6N for submit@debbugs.gnu.org; Mon, 13 Jun 2011 18:05:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWFGK-0005zo-H2 for 8846@debbugs.gnu.org; Mon, 13 Jun 2011 18:05:37 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p5DM5Sac009292 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 13 Jun 2011 18:05:28 -0400 Received: from [10.3.113.153] (ovpn-113-153.phx2.redhat.com [10.3.113.153]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p5DM5SOY026680; Mon, 13 Jun 2011 18:05:28 -0400 Message-ID: <4DF689A7.3010403@redhat.com> Date: Mon, 13 Jun 2011 16:05:27 -0600 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10 MIME-Version: 1.0 To: Stefano Lattarini Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed References: <201106131115.28601.bruno@clisp.org> <201106132232.32162.stefano.lattarini@gmail.com> <4DF6772F.7080007@redhat.com> <201106132339.35309.stefano.lattarini@gmail.com> In-Reply-To: <201106132339.35309.stefano.lattarini@gmail.com> X-Enigmail-Version: 1.1.2 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig7FBC543974198B9755D09AD4" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Spam-Score: -10.3 (----------) X-Debbugs-Envelope-To: 8846 Cc: 8846@debbugs.gnu.org, "bug-autoconf@gnu.org" , Bruno Haible , Jim Meyering X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -10.3 (----------) This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7FBC543974198B9755D09AD4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 06/13/2011 03:39 PM, Stefano Lattarini wrote: >=20 > [3] The $(SHELL), which here we assume is ksh with close-on-exec, does= a > fork+exec to execute the test script; thus, when that script begin= s > its execution, it has the fd 9 closed (d'oh!, but expected now); Oddly enough, it looks like it is _only_ 'exec 9>&2' that suffers from close-on-exec semantics; using '(blah) 9>&2' leaves fd 9 inheritable. So maybe the real fix is to do the redirection to a subshell or grouping {} rather than via exec, at which point even ksh and HP-UX sh will allow the original stderr to be inherited as fd 9 to the child script process: $ printf '#!/bin/sh\nexec >&9\n' > k $ sh k k[2]: 9: Generated or received a file descriptor number that is not valid= =2E $ sh k 9>&2 $ sh -c 'exec 9>&2; /bin/sh k' k[2]: 9: Generated or received a file descriptor number that is not valid= =2E $ sh -c 'sh k 9>&2' $ sh -c '(sh k) 9>&2' $ sh -c '{ sh k;} 9>&2' $ but I don't know if that will require some changes in automake's parallel-test driver setup code. And Autoconf should probably document that the close-on-exec semantics of some shells applies only to the exec builtin, since they do not happen to other redirections. --=20 Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enig7FBC543974198B9755D09AD4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJN9omnAAoJEKeha0olJ0Nqf3QIAK9qWSc2Nv6SHwmeig2J65H7 1mzseMFxKV2kJYz6HERDMmjVbvlL66Ihi0DmmZx7FHoFy9gnI7dVQ6aczcz/vdV0 VrTwLM9oMSvL6klMl1AQ4tjrHsVUTK3ae4D/foYjDaeg401pxvHtO3Ox+9wbt6bH 3bnoFt3ufXMcoaraqhBbedZP5pc244JuqMHs4f0ICDbWEVSqhkeQfOBYD6SeyfJ3 5UGkksG/BBK6p3G+dGylsbDEFllYzDQHuRo3bPwyTdpb6FRpVAexSD5wvzticdmp zlo6LZbH2Sd+P8+asDXkNHXVPQUEfvHUSs6vBK5FmVRiHzn+7ReMe7EavlG6yJc= =Wajy -----END PGP SIGNATURE----- --------------enig7FBC543974198B9755D09AD4-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 18:25:13 2011 Received: (at 8846) by debbugs.gnu.org; 13 Jun 2011 22:25:13 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWFZI-0006QX-Ii for submit@debbugs.gnu.org; Mon, 13 Jun 2011 18:25:12 -0400 Received: from mail-wy0-f172.google.com ([74.125.82.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWFZG-0006QK-QU for 8846@debbugs.gnu.org; Mon, 13 Jun 2011 18:25:11 -0400 Received: by wyb29 with SMTP id 29so3809204wyb.3 for <8846@debbugs.gnu.org>; Mon, 13 Jun 2011 15:25:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:message-id:content-type :content-transfer-encoding; bh=HmJeWByXakQvicqwESYwEEmRVXNEVOfLDHGhJORxuww=; b=RMaJnPOuyAvEUhhwhb6Q78W5QsjyCtDW16HDdW3iXoEvV+P+QZsOwC2+lZ1Ca86Fxu 3WFSSl/KeS+3w/rVAqXbx//d4O6f+2h4R8zIpOsw1OmuIKO4D0cmBcmfpB1srZDIc8HR GtnEjW6bn7eH4/+pe8ongMgQGYfwR2hVu9ZgQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:message-id:content-type:content-transfer-encoding; b=lYinXE+x5ef/sFM4QPVzn+V6KbnBxWbOnOMtaA8LrG5WeAmpRjR7Q4mFM2CWjgeSye ovi2WHTgCw53jTVZfao+omynxczjQy7h3YKz+VEg7tAnpiPIVcXCTG9NufoBp2STEJLh 9A0VpDkgbHRgoqFnOPxoM5roDGcaIz0S7g738= Received: by 10.216.14.214 with SMTP id d64mr5660020wed.17.1308003904890; Mon, 13 Jun 2011 15:25:04 -0700 (PDT) Received: from bigio.localnet (host182-92-dynamic.4-87-r.retail.telecomitalia.it [87.4.92.182]) by mx.google.com with ESMTPS id n20sm3167799weq.39.2011.06.13.15.25.02 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 13 Jun 2011 15:25:03 -0700 (PDT) From: Stefano Lattarini To: Eric Blake Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed Date: Tue, 14 Jun 2011 00:24:52 +0200 User-Agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) References: <201106131115.28601.bruno@clisp.org> <201106132232.32162.stefano.lattarini@gmail.com> <4DF6772F.7080007@redhat.com> In-Reply-To: <4DF6772F.7080007@redhat.com> MIME-Version: 1.0 Message-Id: <201106140024.53658.stefano.lattarini@gmail.com> Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Score: -3.7 (---) X-Debbugs-Envelope-To: 8846 Cc: 8846@debbugs.gnu.org, bug-autoconf@gnu.org, Bruno Haible , Jim Meyering X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.7 (---) On Monday 13 June 2011, Eric Blake wrote: > > Not possible to portably sniff out closed fds; quoting the autoconf manual: > > > Don't rely on duplicating a closed file descriptor to cause an > > error. With Solaris @command{/bin/sh}, when the redirection fails, the > > output goes to the original file descriptor. > Do the shells with the close-on-exec issue also suffer of the issue with closed fds you've reported? If not, the following could be enough to solve our situation without having to change automake: if (exec 3>&-; exec 4>&3) >/dev/null 2>&1; then # Cannot determine whether a file descriptor is closed, fall back # to inferior hack. if test 2 -ne "$stderr_fileno_" && test ! -t "$stderr_fileno_"; then eval "exec $stderr_fileno_>&2" # Or is `stderr_fileno_=2' enough? fi else if (exec 3>&9) >/dev/null 2>&1; then : else eval "exec $stderr_fileno_>&2" # Or is `stderr_fileno_=2' enough? fi fi Regards, Stefano From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 18:30:00 2011 Received: (at 8846) by debbugs.gnu.org; 13 Jun 2011 22:30:00 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWFdu-0006Wd-Vf for submit@debbugs.gnu.org; Mon, 13 Jun 2011 18:29:59 -0400 Received: from mail-ww0-f46.google.com ([74.125.82.46]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWFdt-0006WQ-0E for 8846@debbugs.gnu.org; Mon, 13 Jun 2011 18:29:57 -0400 Received: by wwb28 with SMTP id 28so4977865wwb.15 for <8846@debbugs.gnu.org>; Mon, 13 Jun 2011 15:29:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; bh=FgQLC9Q45gCO1VwmwJjYP54V9jaKLwDsm/XtpkYul3I=; b=rd7QZxqRCgStugQe2kIveeUunheahE+UbcAtCCYnIRl8OGhcTC+YWILsaC3THncWn3 ZEKrY0jFion/lex63aP65Hv+hCODxAh9JmCePGt/XQpgAhLbzp95VltDGTsl8iznLMVu T86rzLTmnp4KMbIu9yIMEQAlqd0/yRRZQjeqE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=cvbDgBKW3ewJYLepbCkZM7c83NIB0Isq+2NWUPZmLuWv2LQDcCIpxLnOselN85WynI ow8m864QrZ/KGy37w3hX0O/i8b2k6XTeebHKHFIxD3M8PnM+wOxQV8W157575yzzQBjL ehcZkU9DnLTSfwQ2wQ0dGj5roRkV05PHxCOXU= Received: by 10.216.237.8 with SMTP id x8mr4551weq.37.1308004191032; Mon, 13 Jun 2011 15:29:51 -0700 (PDT) Received: from bigio.localnet (host182-92-dynamic.4-87-r.retail.telecomitalia.it [87.4.92.182]) by mx.google.com with ESMTPS id o19sm4556603wbh.21.2011.06.13.15.29.48 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 13 Jun 2011 15:29:49 -0700 (PDT) From: Stefano Lattarini To: Eric Blake Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed Date: Tue, 14 Jun 2011 00:29:39 +0200 User-Agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) References: <201106131115.28601.bruno@clisp.org> <201106132339.35309.stefano.lattarini@gmail.com> <4DF689A7.3010403@redhat.com> In-Reply-To: <4DF689A7.3010403@redhat.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201106140029.40419.stefano.lattarini@gmail.com> X-Spam-Score: -3.7 (---) X-Debbugs-Envelope-To: 8846 Cc: 8846@debbugs.gnu.org, "bug-autoconf@gnu.org" , Bruno Haible , Jim Meyering X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.7 (---) On Tuesday 14 June 2011, Eric Blake wrote: > On 06/13/2011 03:39 PM, Stefano Lattarini wrote: > > > > [3] The $(SHELL), which here we assume is ksh with close-on-exec, does a > > fork+exec to execute the test script; thus, when that script begins > > its execution, it has the fd 9 closed (d'oh!, but expected now); > > Oddly enough, it looks like it is _only_ 'exec 9>&2' that suffers from > close-on-exec semantics; using '(blah) 9>&2' leaves fd 9 inheritable. > > So maybe the real fix is to do the redirection to a subshell or grouping > {} rather than via exec, at which point even ksh and HP-UX sh will allow > the original stderr to be inherited as fd 9 to the child script process: > > $ printf '#!/bin/sh\nexec >&9\n' > k > $ sh k > k[2]: 9: Generated or received a file descriptor number that is not valid. > $ sh k 9>&2 > $ sh -c 'exec 9>&2; /bin/sh k' > k[2]: 9: Generated or received a file descriptor number that is not valid. > $ sh -c 'sh k 9>&2' > If this work, then using a bare `>&2' *at the end of TESTS_ENVIRONMENT* and *without a following semicolon* might give a portable workaround, as if I'm not mistaken POSIX mandates that redirections can be specified anywere on the command line, and are to be evaluated from left to right. UPDATE: Yes, it seems to work. I'll add a testcase to the 'maint' branch in case you and Jim decide to go with this solution (and you can confirm that it really works). > $ sh -c '(sh k) 9>&2' > $ sh -c '{ sh k;} 9>&2' > $ > > but I don't know if that will require some changes in automake's > parallel-test driver setup code. > > And Autoconf should probably document that the close-on-exec semantics > of some shells applies only to the exec builtin, since they do not > happen to other redirections. > Regards, Stefano From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 18:38:21 2011 Received: (at 8846) by debbugs.gnu.org; 13 Jun 2011 22:38:22 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWFm1-0006lL-C6 for submit@debbugs.gnu.org; Mon, 13 Jun 2011 18:38:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWFlw-0006kn-Ha for 8846@debbugs.gnu.org; Mon, 13 Jun 2011 18:38:19 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p5DMc9PT012773 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 13 Jun 2011 18:38:09 -0400 Received: from [10.3.113.153] (ovpn-113-153.phx2.redhat.com [10.3.113.153]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p5DMc70X012182; Mon, 13 Jun 2011 18:38:08 -0400 Message-ID: <4DF6914F.7010101@redhat.com> Date: Mon, 13 Jun 2011 16:38:07 -0600 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10 MIME-Version: 1.0 To: Stefano Lattarini Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed References: <201106131115.28601.bruno@clisp.org> <201106132232.32162.stefano.lattarini@gmail.com> <4DF6772F.7080007@redhat.com> <201106140024.53658.stefano.lattarini@gmail.com> In-Reply-To: <201106140024.53658.stefano.lattarini@gmail.com> X-Enigmail-Version: 1.1.2 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig11A0CF525CBA8D7CA07806CB" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 X-Spam-Score: -10.3 (----------) X-Debbugs-Envelope-To: 8846 Cc: 8846@debbugs.gnu.org, bug-autoconf@gnu.org, Bruno Haible , Jim Meyering X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -10.3 (----------) This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig11A0CF525CBA8D7CA07806CB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 06/13/2011 04:24 PM, Stefano Lattarini wrote: > On Monday 13 June 2011, Eric Blake wrote: >> >> Not possible to portably sniff out closed fds; quoting the autoconf ma= nual: >> >>> Don't rely on duplicating a closed file descriptor to cause an >>> error. With Solaris @command{/bin/sh}, when the redirection fails, t= he >>> output goes to the original file descriptor. >> > Do the shells with the close-on-exec issue also suffer of the issue wit= h > closed fds you've reported? If not, the following could be enough to > solve our situation without having to change automake: Where are you proposing this hack? In init.sh (after fd 9 has already been closed if the calling shell used exec instead of some other form of redirection)? That is, why are we trying to fix init.sh to deal with a closed fd after the fact, when it seems like the better approach is to guarantee that fd is never closed on exec in the first place? Which necessarily implies altering the caller. >=20 > if (exec 3>&-; exec 4>&3) >/dev/null 2>&1; then > # Cannot determine whether a file descriptor is closed, fall back > # to inferior hack. > if test 2 -ne "$stderr_fileno_" && test ! -t "$stderr_fileno_"; the= n > eval "exec $stderr_fileno_>&2" # Or is `stderr_fileno_=3D2' enoug= h? > fi Or is the whole point of this hack to init.sh to avoid the spurious warning about EBADF and to instead redirect errors to the (possibly-altered-by-make) fd 2 when fd 9 was lost, so that at least the warning messages appear in the logs even though we lost the chance to display them on the tty? At any rate, in answer to your question: Solaris /bin/sh (the shell where failed redirections are silently ignored) does this: $ /bin/sh -c '(exec 3>&-; exec 4>&3) >/dev/null 2>&1; echo $?' 0 $ cat k #!/bin/sh e=3D9; warn_ () { echo "$@" 1>&$e; }; warn_ x $ /bin/sh k x $ /bin/sh k >/dev/null $ /bin/sh k 9>&2 x $ /bin/sh k 9>&2 >/dev/null x That is, if fd 9 is closed, then 1>&$e (aka >&9) is a no-op on that shell, and output goes to the original fd 1; but if fd 9 is open, then output goes to fd 9. Whereas ksh and HP-UX sh are both vocal on failed redirections, for reliable detection: $ ksh -c '(exec 3>&-; exec 4>&3) >/dev/null 2>&1; echo $?' 1 $ ksh k k[2]: 9: cannot open [Bad file number] $ ksh k >/dev/null k[2]: 9: cannot open [Bad file number] $ ksh k 9>&2 x $ ksh k 9>&2 >/dev/null x --=20 Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enig11A0CF525CBA8D7CA07806CB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJN9pFPAAoJEKeha0olJ0NqFBwIAJ8A3jJILNEIVCcvFbJSgsHK Yb+n06X0cMocDs1tl9/K/jkh8vkq9msiZDPzJ22omyypBynRObS6mhrY+zv6Gb9t i1SaCONamOh5whz06dVA07LWKdMEYbZURZ5/LCyi+LO+OiTJ83C6iCmgAVMV95ws HF4Zg/mEdw666eHyjMSRSfFDB49RM4/CkaA5v0+6mRFG7pXuNu8kdaMHdMArnd6o Jf2peGzeebFK/mKML0JmU7O5JN9TZGU0596QTwdLnIzzWm6JwPRmVAM6orE1qIZ/ 3P6QitT8R+gHifVuRlMyhyCrd8SQq5lnUiQBRgexbglO8BY6Jr4yON2TTwsfQXI= =elVm -----END PGP SIGNATURE----- --------------enig11A0CF525CBA8D7CA07806CB-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 13 18:48:02 2011 Received: (at 8846) by debbugs.gnu.org; 13 Jun 2011 22:48:02 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWFvN-0006yJ-VU for submit@debbugs.gnu.org; Mon, 13 Jun 2011 18:48:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWFvM-0006y7-F4 for 8846@debbugs.gnu.org; Mon, 13 Jun 2011 18:48:01 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p5DMlrjB015293 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 13 Jun 2011 18:47:53 -0400 Received: from [10.3.113.153] (ovpn-113-153.phx2.redhat.com [10.3.113.153]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p5DMlq8M018083; Mon, 13 Jun 2011 18:47:52 -0400 Message-ID: <4DF69397.7000508@redhat.com> Date: Mon, 13 Jun 2011 16:47:51 -0600 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10 MIME-Version: 1.0 To: Stefano Lattarini Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed References: <201106131115.28601.bruno@clisp.org> <201106132339.35309.stefano.lattarini@gmail.com> <4DF689A7.3010403@redhat.com> <201106140029.40419.stefano.lattarini@gmail.com> In-Reply-To: <201106140029.40419.stefano.lattarini@gmail.com> X-Enigmail-Version: 1.1.2 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig33EA3AFFE620EA9BFC00CED5" X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-Spam-Score: -10.3 (----------) X-Debbugs-Envelope-To: 8846 Cc: 8846@debbugs.gnu.org, "bug-autoconf@gnu.org" , Bruno Haible , Jim Meyering X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -10.3 (----------) This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig33EA3AFFE620EA9BFC00CED5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 06/13/2011 04:29 PM, Stefano Lattarini wrote: > If this work, then using a bare `>&2' *at the end of TESTS_ENVIRONMENT*= and You meant a bare `9>&2', but yes that does seem to be workable for what we want! > *without a following semicolon* might give a portable workaround, as if= I'm > not mistaken POSIX mandates that redirections can be specified anywere = on > the command line, and are to be evaluated from left to right. Yes, all shells support these as equivalent: 9>&2 sh k sh k 9>&2 >=20 > UPDATE: Yes, it seems to work. I'll add a testcase to the 'maint' bran= ch in > case you and Jim decide to go with this solution (and you can confirm t= hat it > really works). Cool! Definitely worth documenting in the automake manual, as owner of TESTS_ENVIRONMENT and as a client of init.sh functionality, as well as your proposed automake testcase addition to ensure we don't break it. --=20 Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enig33EA3AFFE620EA9BFC00CED5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJN9pOXAAoJEKeha0olJ0NqKM4H/AssDHkrzMaSWSSP6UBR8xZp aw31Zagb2e7TbNTg6lgw3Lr+4F6jSPh7xqoesDh0tkIhbzeO/R8qRMXhZPBIOZSx OZ/nJKM1sXEssVLx+VY77O1UI3+3tMDVqk9oj+kHCLF1/rJGr9HglGbgslDklQ4p sl4GtLBFfQAQJqXkRvCgS1Khu0CzGMLQOqMjFMNbWGzgw21Uaz9349j9H1Z0m6wx KcFggDcKWZjXipCst0+Evf24b5c9GaStMwNSlcuzxCS/1RRSywj5cOXXKV2Hee4n LtvulbT9E3kwi97t+qC7uc/P0YYD9ukdxCl/Vrn+b1IsuzXuehFYO7SfWTTymqQ= =zxcg -----END PGP SIGNATURE----- --------------enig33EA3AFFE620EA9BFC00CED5-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 14 03:34:21 2011 Received: (at 8846) by debbugs.gnu.org; 14 Jun 2011 07:34:21 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWO8i-0002iD-FP for submit@debbugs.gnu.org; Tue, 14 Jun 2011 03:34:20 -0400 Received: from mail-ww0-f42.google.com ([74.125.82.42]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWO8g-0002i2-Om for 8846@debbugs.gnu.org; Tue, 14 Jun 2011 03:34:19 -0400 Received: by wwk4 with SMTP id 4so3431143wwk.3 for <8846@debbugs.gnu.org>; Tue, 14 Jun 2011 00:34:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; bh=2GEuPJMAFs7nhYMTxu5J8Zw4dXZ84C1gR+KDYCH8nr8=; b=rVXtWMFQsGh7lqoSamsweDEO4qqFslSwTRCi+UwqefsPi6xkQWb80E5njtOgla/b+k bLkppvXkEC0bfJdchMX/ojbDa1SqksUh3cJarIC1lrXLLrwdV7BAwhSpL2b0/zBASCA3 LoaaWYk/54MUBPLotFoJhIMkEIoqociLNwG1E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=E1DB/tgKIf6AiA5RxoGmpb6WWDFgqHbIx/K3TZ+gwcHoTfBQt17PsP4OdNVYS5fgAB DxE/aIlzOkqv28/MwBUP6f+r6EJz8ZHSivNQH/PXB/AyWJ9viDdHG1AYEOvnJ/h0oS72 ntJ7wp8vcVSYGjyDmtaYOslMzp2W+uY0+v5NM= Received: by 10.227.199.82 with SMTP id er18mr494438wbb.63.1308036852883; Tue, 14 Jun 2011 00:34:12 -0700 (PDT) Received: from bigio.localnet (host76-95-dynamic.0-87-r.retail.telecomitalia.it [87.0.95.76]) by mx.google.com with ESMTPS id d19sm4807529wbh.8.2011.06.14.00.34.10 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 14 Jun 2011 00:34:11 -0700 (PDT) From: Stefano Lattarini To: Eric Blake Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed Date: Tue, 14 Jun 2011 09:34:01 +0200 User-Agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) References: <201106131115.28601.bruno@clisp.org> <201106140024.53658.stefano.lattarini@gmail.com> <4DF6914F.7010101@redhat.com> In-Reply-To: <4DF6914F.7010101@redhat.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201106140934.02709.stefano.lattarini@gmail.com> X-Spam-Score: -3.9 (---) X-Debbugs-Envelope-To: 8846 Cc: 8846@debbugs.gnu.org, bug-autoconf@gnu.org, Bruno Haible , Jim Meyering X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.9 (---) Notice: this is a JFTR answer; for the final solution of the issue, see the better working solution at: On Tuesday 14 June 2011, Eric Blake wrote: > On 06/13/2011 04:24 PM, Stefano Lattarini wrote: > > On Monday 13 June 2011, Eric Blake wrote: > >> > >> Not possible to portably sniff out closed fds; quoting the autoconf manual: > >> > >>> Don't rely on duplicating a closed file descriptor to cause an > >>> error. With Solaris @command{/bin/sh}, when the redirection fails, the > >>> output goes to the original file descriptor. > >> > > Do the shells with the close-on-exec issue also suffer of the issue with > > closed fds you've reported? If not, the following could be enough to > > solve our situation without having to change automake: > > Where are you proposing this hack? In init.sh (after fd 9 has already > been closed if the calling shell used exec instead of some other form of > redirection)? That is, why are we trying to fix init.sh to deal with a > closed fd after the fact, when it seems like the better approach is to > guarantee that fd is never closed on exec in the first place? Which > necessarily implies altering the caller. > > > > > if (exec 3>&-; exec 4>&3) >/dev/null 2>&1; then > > # Cannot determine whether a file descriptor is closed, fall back > > # to inferior hack. > > if test 2 -ne "$stderr_fileno_" && test ! -t "$stderr_fileno_"; then > > eval "exec $stderr_fileno_>&2" # Or is `stderr_fileno_=2' enough? > > fi > > Or is the whole point of this hack to init.sh to avoid the spurious > warning about EBADF and to instead redirect errors to the > (possibly-altered-by-make) fd 2 when fd 9 was lost, so that at least the > warning messages appear in the logs even though we lost the chance to > display them on the tty? > Yes, this was the idea. But it is moot now that we have a better solution to be used in TESTS_ENVRIRONMENT. > At any rate, in answer to your question: > > Solaris /bin/sh (the shell where failed redirections are silently > ignored) does this: > > $ /bin/sh -c '(exec 3>&-; exec 4>&3) >/dev/null 2>&1; echo $?' > 0 > $ cat k > #!/bin/sh > e=9; warn_ () { echo "$@" 1>&$e; }; warn_ x > $ /bin/sh k > x > $ /bin/sh k >/dev/null > $ /bin/sh k 9>&2 > x > $ /bin/sh k 9>&2 >/dev/null > x > > That is, if fd 9 is closed, then 1>&$e (aka >&9) is a no-op on that > shell, and output goes to the original fd 1; but if fd 9 is open, then > output goes to fd 9. > > Whereas ksh and HP-UX sh are both vocal on failed redirections, for > reliable detection: > > $ ksh -c '(exec 3>&-; exec 4>&3) >/dev/null 2>&1; echo $?' > 1 > $ ksh k > k[2]: 9: cannot open [Bad file number] > $ ksh k >/dev/null > k[2]: 9: cannot open [Bad file number] > $ ksh k 9>&2 > x > $ ksh k 9>&2 >/dev/null > x > This would have been a problem :-/ Luckily, no more need to worry about it now :-) Regards, Stefano From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 14 03:48:01 2011 Received: (at 8846) by debbugs.gnu.org; 14 Jun 2011 07:48:01 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWOLx-00030K-2v for submit@debbugs.gnu.org; Tue, 14 Jun 2011 03:48:01 -0400 Received: from mail-ww0-f46.google.com ([74.125.82.46]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWOLu-000308-EG for 8846@debbugs.gnu.org; Tue, 14 Jun 2011 03:47:59 -0400 Received: by wwb28 with SMTP id 28so5239402wwb.15 for <8846@debbugs.gnu.org>; Tue, 14 Jun 2011 00:47:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-type:message-id; bh=fCv7romBWLT7S0x/a6gmkib8wJ4BgvUbq6opWUG67I4=; b=RTlEEsSVm6C2TYGObegb63td7Lih/23aXC5PU/5H8YqHrc4BVjbtgZbZhXpeGc5vcI DJxomJUeV61nhFO+tavL+P9ng7FuzzwKz2dZN9cnTBjXxysNEuVBEtivQurYXF645WW4 D5XqrkYTKHM0i4dT2f6stLP5vW2QIqvDBtmUU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:message-id; b=XST3b2BH/iUZYaWV0qXakBWdZd7vYwax69DQY4xgznhDLN7mLOyegY1bgb8a0ilL/a Lk2wbo1XSpDVKYYOCVqZb3/C17Po10MDyxF/q34ySy7wTwom1STmks5Ej5DWJi5qdd3F EipWJHcMdOO8604hXaaPBFlXNajeszheByFEA= Received: by 10.227.205.69 with SMTP id fp5mr1363010wbb.97.1308037672618; Tue, 14 Jun 2011 00:47:52 -0700 (PDT) Received: from bigio.localnet (host76-95-dynamic.0-87-r.retail.telecomitalia.it [87.0.95.76]) by mx.google.com with ESMTPS id b10sm4813814wbh.43.2011.06.14.00.47.50 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 14 Jun 2011 00:47:51 -0700 (PDT) From: Stefano Lattarini To: Eric Blake Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed Date: Tue, 14 Jun 2011 09:47:32 +0200 User-Agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) References: <201106131115.28601.bruno@clisp.org> <201106140029.40419.stefano.lattarini@gmail.com> <4DF69397.7000508@redhat.com> In-Reply-To: <4DF69397.7000508@redhat.com> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_UIx9NTUpI+ugYIo" Message-Id: <201106140947.33029.stefano.lattarini@gmail.com> X-Spam-Score: -3.9 (---) X-Debbugs-Envelope-To: 8846 Cc: 8846@debbugs.gnu.org, "bug-autoconf@gnu.org" , Bruno Haible , Jim Meyering , automake-patches@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.9 (---) --Boundary-00=_UIx9NTUpI+ugYIo Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit [adding automake-patches on CC:] Reference to original thread(s), mostly duplicated: Reference to last relevant message there: On Tuesday 14 June 2011, Eric Blake wrote: > On 06/13/2011 04:29 PM, Stefano Lattarini wrote: > > If this work, then using a bare `>&2' *at the end of TESTS_ENVIRONMENT* and > > You meant a bare `9>&2', > Yes, sorry. > but yes that does seem to be workable for what we want! > > > *without a following semicolon* might give a portable workaround, as if I'm > > not mistaken POSIX mandates that redirections can be specified anywere on > > the command line, and are to be evaluated from left to right. > > Yes, all shells support these as equivalent: > > 9>&2 sh k > sh k 9>&2 > > > > > UPDATE: Yes, it seems to work. I'll add a testcase to the 'maint' branch in > > case you and Jim decide to go with this solution (and you can confirm that it > > really works). > > Cool! Definitely worth documenting in the automake manual, as owner of > TESTS_ENVIRONMENT and as a client of init.sh functionality, as well as > your proposed automake testcase addition to ensure we don't break it. > I'll then push the attached patch to automake master soonish (by tomorrow or so) if there is no objection by then. Regards, Stefano --Boundary-00=_UIx9NTUpI+ugYIo Content-Type: text/x-patch; charset="utf-8"; name="0001-tests-check-portable-fd-redirection-in-TESTS_ENVIRON.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline; filename="0001-tests-check-portable-fd-redirection-in-TESTS_ENVIRON.patch" =46rom 9f80020a24110e599b7dbdc5699dc8dbf5af0bd2 Mon Sep 17 00:00:00 2001 Message-Id: <9f80020a24110e599b7dbdc5699dc8dbf5af0bd2.1308037344.git.stefan= o.lattarini@gmail.com> =46rom: Stefano Lattarini Date: Tue, 14 Jun 2011 09:41:14 +0200 Subject: [PATCH] tests: check portable fd redirection in TESTS_ENVIRONMENT * tests/tests-environment-fd-redirect.test: New test. * tests/Makefile.am (TESTS): Update. Motivated by coreutils bug#8846: See also following CC:ed thread on bug-autoconf list: =2D-- ChangeLog | 10 ++++ tests/Makefile.am | 1 + tests/Makefile.in | 1 + tests/tests-environment-fd-redirect.test | 75 ++++++++++++++++++++++++++= ++++ 4 files changed, 87 insertions(+), 0 deletions(-) create mode 100755 tests/tests-environment-fd-redirect.test diff --git a/ChangeLog b/ChangeLog index aad41c7..e482cbd 100644 =2D-- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2011-06-14 Stefano Lattarini + + tests: check portable fd redirection in TESTS_ENVIRONMENT + * tests/tests-environment-fd-redirect.test: New test. + * tests/Makefile.am (TESTS): Update. + Motivated by coreutils bug#8846: + + See also following CC:ed thread on bug-autoconf list: + + 2011-06-08 Stefano Lattarini =20 test defs: new function 'fatal_', for hard errors diff --git a/tests/Makefile.am b/tests/Makefile.am index e68f6d7..c0f39ce 100644 =2D-- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -949,6 +949,7 @@ tar2.test \ tar3.test \ target-cflags.test \ targetclash.test \ +tests-environment-fd-redirect.test \ txinfo.test \ txinfo2.test \ txinfo3.test \ diff --git a/tests/Makefile.in b/tests/Makefile.in index 7e5fd09..4c223fc 100644 =2D-- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -1216,6 +1216,7 @@ tar2.test \ tar3.test \ target-cflags.test \ targetclash.test \ +tests-environment-fd-redirect.test \ txinfo.test \ txinfo2.test \ txinfo3.test \ diff --git a/tests/tests-environment-fd-redirect.test b/tests/tests-environ= ment-fd-redirect.test new file mode 100755 index 0000000..2a0afa9 =2D-- /dev/null +++ b/tests/tests-environment-fd-redirect.test @@ -0,0 +1,75 @@ +#! /bin/sh +# Copyright (C) 2011 Free Software Foundation, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# Test for a behaviour of `TESTS_ENVIRONMENT' and `AM_TESTS_ENVIRONMENT' +# w.r.t. file descriptor redirections which, although undocumented, +# is nonetheless required by Gnulib's 'tests/init.sh' and by coreutils' +# testsuite. +# The checked behaviour is that we can portably do file descriptor +# redirections by placing them at the end of a {AM_,}TESTS_ENVIRONMENT +# definition without a following semicolon. The need to support this +# is detailedly motivated by coreutils bug#8846: +# +# and the following CC:ed thread on bug-autoconf list: +# + +parallel_tests=3Dyes +. ./defs || Exit 1 + +cat >> configure.in << 'END' +AC_OUTPUT +END + +cat >foo.test <<'END' +#! /bin/sh +echo " " $0: foofoofoo >&8 +echo " " $0: barbarbar >&9 +END +chmod a+x foo.test + +$ACLOCAL +$AUTOCONF + +# /bin/ksh seems more vulnerable to the issue highlighted in coreutils +# bug#8846 than other shells are. In particular, the default Korn Shell +# on Debian GNU/Linux is affected by the issue. So let's try to run our +# test with /bin/ksh too, if that's available. +if test "$SHELL" !=3D /bin/ksh && test -f /bin/ksh; then + bin_ksh=3D/bin/ksh +else + bin_ksh=3D: +fi + +for sh in "$SHELL" "$bin_ksh"; do + test "$sh" =3D : && continue + for pfx in AM_ ''; do=20 + unindent > Makefile.am <&1 9>&8 +END + $AUTOMAKE -a + CONFIG_SHELL=3D"$sh" $sh ./configure CONFIG_SHELL=3D"$sh" + $MAKE check >stdout || { cat stdout; Exit 1; } + cat stdout + grep '[ /]foo\.test: foofoofoo$' stdout + grep '[ /]foo\.test: barbarbar$' stdout + $EGREP '(foofoofoo|barbarbar)' foo.log && Exit 1 + : # For shells with buggy 'set -e'. + done +done + +: =2D-=20 1.7.2.3 --Boundary-00=_UIx9NTUpI+ugYIo-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 14 04:11:34 2011 Received: (at 8846) by debbugs.gnu.org; 14 Jun 2011 08:11:35 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWOij-0003Y6-SF for submit@debbugs.gnu.org; Tue, 14 Jun 2011 04:11:34 -0400 Received: from mx.meyering.net ([82.230.74.64]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWOih-0003Xr-5V for 8846@debbugs.gnu.org; Tue, 14 Jun 2011 04:11:32 -0400 Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id 62DE56011F; Tue, 14 Jun 2011 10:11:25 +0200 (CEST) From: Jim Meyering To: Stefano Lattarini Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed In-Reply-To: <201106140934.02709.stefano.lattarini@gmail.com> (Stefano Lattarini's message of "Tue, 14 Jun 2011 09:34:01 +0200") References: <201106131115.28601.bruno@clisp.org> <201106140024.53658.stefano.lattarini@gmail.com> <4DF6914F.7010101@redhat.com> <201106140934.02709.stefano.lattarini@gmail.com> Date: Tue, 14 Jun 2011 10:11:25 +0200 Message-ID: <87oc20al3m.fsf@rho.meyering.net> Lines: 67 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: 8846 Cc: Bruno Haible , bug-autoconf@gnu.org, 8846@debbugs.gnu.org, Eric Blake X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.0 (------) Here's what I expect to do for coreutils, along with an advice-update for gnulib's init.sh: >From e948173c1c461aac9f1c490061b257f55e42608d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 14 Jun 2011 09:59:14 +0200 Subject: [PATCH] tests: accommodate HP-UX and Solaris shells Running "make check" normally prints a diagnostic to the outermost stderr (usually a tty) to explain why a test is skipped. It did this by redirecting FD 9 to stderr (via "exec 9>&2") before invoking the shell script. Shell scripts write skip-explanation to FD 9 via init.sh's skip_ function. However, with Solaris 10's ksh and HP-UX, the effects of "exec 9>&2" are canceled upon fork-and-exec, so we would get a "Bad file number" diagnostic and no skip explanation on those systems. * tests/check.mk (TESTS_ENVIRONMENT): Redirect more portably, via $(SHELL) "$$1" 9>&2, rather than the prior exec 9>&2; $(SHELL) ... Actually, we use "shell_or_perl_ 9>&2", to make this effective also for the perl-based tests. * tests/init.sh (stderr_fileno_): Update the advice in comments. See http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/22488 for lots of discussion. Stefano Lattarini suggested the solution of putting "9>&2" after the command. Reported by Bruno Haible. --- tests/check.mk | 3 +-- tests/init.sh | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/check.mk b/tests/check.mk index db7f067..9db96af 100644 --- a/tests/check.mk +++ b/tests/check.mk @@ -58,7 +58,6 @@ TESTS_ENVIRONMENT = \ test -d "$$tmp__" && test -w "$$tmp__" || tmp__=.; \ . $(srcdir)/envvar-check; \ TMPDIR=$$tmp__; export TMPDIR; \ - exec 9>&2; \ shell_or_perl_() { \ if grep '^\#!/usr/bin/perl' "$$1" > /dev/null; then \ if $(PERL) -e 'use warnings' > /dev/null 2>&1; then \ @@ -100,6 +99,6 @@ TESTS_ENVIRONMENT = \ REPLACE_GETCWD=$(REPLACE_GETCWD) \ ; test -d /usr/xpg4/bin && PATH='/usr/xpg4/bin$(PATH_SEPARATOR)'"$$PATH"; \ PATH='$(abs_top_builddir)/src$(PATH_SEPARATOR)'"$$PATH" \ - ; shell_or_perl_ + ; shell_or_perl_ 9>&2 VERBOSE = yes diff --git a/tests/init.sh b/tests/init.sh index 60d1bc1..a769d8b 100644 --- a/tests/init.sh +++ b/tests/init.sh @@ -68,8 +68,8 @@ Exit () { set +e; (exit $1); exit $1; } # Print warnings (e.g., about skipped and failed tests) to this file number. # Override by defining to say, 9, in init.cfg, and putting say, -# "export ...ENVVAR_SETTINGS...; exec 9>&2; $(SHELL)" in the definition -# of TESTS_ENVIRONMENT in your tests/Makefile.am file. +# export ...ENVVAR_SETTINGS...; $(SHELL) "$$1" 9>&2 +# in the definition of TESTS_ENVIRONMENT in your tests/Makefile.am file. # This is useful when using automake's parallel tests mode, to print # the reason for skip/failure to console, rather than to the .log files. : ${stderr_fileno_=2} -- 1.7.6.rc0.293.g40857 From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 14 04:16:27 2011 Received: (at 8846) by debbugs.gnu.org; 14 Jun 2011 08:16:27 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWOnT-0003fQ-Hs for submit@debbugs.gnu.org; Tue, 14 Jun 2011 04:16:27 -0400 Received: from mx.meyering.net ([82.230.74.64]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWOnM-0003fA-VK for 8846@debbugs.gnu.org; Tue, 14 Jun 2011 04:16:26 -0400 Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id 4C2E16011F; Tue, 14 Jun 2011 10:16:15 +0200 (CEST) From: Jim Meyering To: Bruno Haible Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed In-Reply-To: <87hb7ughxd.fsf@rho.meyering.net> (Jim Meyering's message of "Mon, 13 Jun 2011 12:11:10 +0200") References: <201106131115.28601.bruno@clisp.org> <87hb7ughxd.fsf@rho.meyering.net> Date: Tue, 14 Jun 2011 10:16:15 +0200 Message-ID: <87d3igakvk.fsf@rho.meyering.net> Lines: 125 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: 8846 Cc: 8846@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.0 (------) Jim Meyering wrote: > Bruno Haible wrote: >> On HP-UX 11.31, built with cc, coreutils-8.12 gives 3 test suite failures: >> >> FAIL: misc/printf-surprise (exit: 1) >> FAIL: dd/nocache (exit: 1) >> FAIL: du/inaccessible-cwd (exit: 1) >> >> Find attached the log file. >> > ... >> FAIL: misc/printf-surprise (exit: 1) >> ==================================== >> >> ./init.sh: line 77: 1: Bad file number >> printf (GNU coreutils) 8.12 >> Copyright (C) 2011 Free Software Foundation, Inc. >> License GPLv3+: GNU GPL version 3 or later . >> This is free software: you are free to change and redistribute it. >> There is NO WARRANTY, to the extent permitted by law. > ... > > Hi Bruno > > Thank you for the testing and report. > That "bad file number" error comes from this code in init.sh: > > : ${stderr_fileno_=2} > warn_ () { echo "$@" 1>&$stderr_fileno_; } > > Because of that, the log contains less information than usual. > If you can easily apply this patch and rerun the failing tests, > I'd appreciate it. It should avoid the error and let us see > more details about what is failing. > > >>>From 25e7bded3f2abff58540b0fcead2ba110d344bb0 Mon Sep 17 00:00:00 2001 > From: Jim Meyering > Date: Mon, 13 Jun 2011 12:07:14 +0200 > Subject: [PATCH] init.sh: accommodate shells for which 1>&$stderr_fileno_ > fails > > * tests/init.sh (warn_): Use eval to work around a bug in some shells, > like those of Solaris 10 and HP-UX 11.11. That change did not help, so I've reverted it. That's the first patch. The second one syncs from gnulib's init.sh. >From 83e424e7319e8ef2e3398aefbaade972770a6f97 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 13 Jun 2011 18:20:14 +0200 Subject: [PATCH 1/2] maint: revert previous commit Revert "init.sh: accommodate shells for which 1>&$stderr_fileno_ fails" This reverts commit 6fb9aeedd1b858a61d5cbf7f15782adf29ff733a. That change did not solve the problem. For details, see http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8846#74 --- tests/init.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tests/init.sh b/tests/init.sh index 25850af..14f2e26 100644 --- a/tests/init.sh +++ b/tests/init.sh @@ -74,7 +74,7 @@ Exit () { set +e; (exit $1); exit $1; } # the reason for skip/failure to console, rather than to the .log files. : ${stderr_fileno_=2} -warn_ () { eval 'echo "$@" 1>&'"$stderr_fileno_"; } +warn_ () { echo "$@" 1>&$stderr_fileno_; } fail_ () { warn_ "$ME_: failed test: $@"; Exit 1; } skip_ () { warn_ "$ME_: skipped test: $@"; Exit 77; } framework_failure_ () { warn_ "$ME_: set-up failure: $@"; Exit 99; } -- 1.7.6.rc0.293.g40857 >From ef6e57b24b51f247119a83be6c81c6a8a30b87a4 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 13 Jun 2011 12:49:10 +0200 Subject: [PATCH 2/2] init.sh: sync from gnulib * tests/init.sh: Sync recent changes from gnulib. --- tests/init.sh | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/init.sh b/tests/init.sh index 14f2e26..60d1bc1 100644 --- a/tests/init.sh +++ b/tests/init.sh @@ -77,6 +77,7 @@ Exit () { set +e; (exit $1); exit $1; } warn_ () { echo "$@" 1>&$stderr_fileno_; } fail_ () { warn_ "$ME_: failed test: $@"; Exit 1; } skip_ () { warn_ "$ME_: skipped test: $@"; Exit 77; } +fatal_ () { warn_ "$ME_: hard error: $@"; Exit 99; } framework_failure_ () { warn_ "$ME_: set-up failure: $@"; Exit 99; } # Sanitize this shell to POSIX mode, if possible. @@ -167,7 +168,10 @@ else st_=$? # $re_shell_ works just fine. Use it. - test $st_ = 10 && break + if test $st_ = 10; then + gl_set_x_corrupts_stderr_=false + break + fi # If this is our first marginally acceptable shell, remember it. if test "$st_:$marginal_" = 9: ; then @@ -400,7 +404,7 @@ mktempd_ () { case $# in 2);; - *) fail_ "Usage: $ME DIR TEMPLATE";; + *) fail_ "Usage: mktempd_ DIR TEMPLATE";; esac destdir_=$1 -- 1.7.6.rc0.293.g40857 From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 14 04:33:40 2011 Received: (at 8846) by debbugs.gnu.org; 14 Jun 2011 08:33:40 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWP48-00042W-7K for submit@debbugs.gnu.org; Tue, 14 Jun 2011 04:33:40 -0400 Received: from mail-ww0-f42.google.com ([74.125.82.42]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWP44-00042B-K9 for 8846@debbugs.gnu.org; Tue, 14 Jun 2011 04:33:37 -0400 Received: by wwk4 with SMTP id 4so3471323wwk.3 for <8846@debbugs.gnu.org>; Tue, 14 Jun 2011 01:33:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; bh=7CNozjcxuDlSF3C/EG/cr8o+KxzJMsgtPT016k8U3fE=; b=fjKMch+8YmBqT6Blga76ShTZV09lqMhm859lcJXu5BzQVevOSjeZw3owRTJuIlVvGw MSj37PlZb/6wLAw04cBvL8OtbbEt7HdigfS0hmsxbMK+ZL1GMz4GTdXiXU9YNfVHA1DJ jmklx7tErb9Vu3c57a7pNLriAfhOnWRnq0Lyo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=XQkEs9155vjUWNgbdD39qB/FzeN0xLm1w7pXU7cfS+k2Gn9VhITcIN2Rl29GghhiY/ 3nbHTLZFXF/E5489yI883Z2obyWAqR0wJUE1slOqQmxm5N7VzMjVNKYhIUm1/YwnmfuN 0+tlCcn2/66YugbHtktARzrVs755siv40+AZ0= Received: by 10.217.7.74 with SMTP id z52mr446720wes.52.1308040409204; Tue, 14 Jun 2011 01:33:29 -0700 (PDT) Received: from bigio.localnet (host76-95-dynamic.0-87-r.retail.telecomitalia.it [87.0.95.76]) by mx.google.com with ESMTPS id ex2sm4843891wbb.65.2011.06.14.01.33.26 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 14 Jun 2011 01:33:27 -0700 (PDT) From: Stefano Lattarini To: Jim Meyering Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed Date: Tue, 14 Jun 2011 10:33:17 +0200 User-Agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) References: <201106131115.28601.bruno@clisp.org> <201106140934.02709.stefano.lattarini@gmail.com> <87oc20al3m.fsf@rho.meyering.net> In-Reply-To: <87oc20al3m.fsf@rho.meyering.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201106141033.18609.stefano.lattarini@gmail.com> X-Spam-Score: -3.9 (---) X-Debbugs-Envelope-To: 8846 Cc: Bruno Haible , bug-autoconf@gnu.org, 8846@debbugs.gnu.org, Eric Blake X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.8 (---) On Tuesday 14 June 2011, Jim Meyering wrote: > Here's what I expect to do for coreutils, > along with an advice-update for gnulib's init.sh: > Thanks, I'll apply something similar to automake `tests/defs' soonish. I have a doubt below, tough (see near the end). > From e948173c1c461aac9f1c490061b257f55e42608d Mon Sep 17 00:00:00 2001 > From: Jim Meyering > Date: Tue, 14 Jun 2011 09:59:14 +0200 > Subject: [PATCH] tests: accommodate HP-UX and Solaris shells > > Running "make check" normally prints a diagnostic to the outermost > stderr (usually a tty) to explain why a test is skipped. It did this > by redirecting FD 9 to stderr (via "exec 9>&2") before invoking the > shell script. Shell scripts write skip-explanation to FD 9 via > init.sh's skip_ function. However, with Solaris 10's ksh and HP-UX, > the effects of "exec 9>&2" are canceled upon fork-and-exec, > BTW, this is true also for the default ksh on Debian GNU/Linux (but note that this is just a "trivia fact", since on GNU/Linux basically everybody uses either bash or dash as the non-interactive shell of choice). > so we would get a "Bad file number" diagnostic and no skip explanation > on those systems. > * tests/check.mk (TESTS_ENVIRONMENT): Redirect more portably, via > $(SHELL) "$$1" 9>&2, rather than the prior > exec 9>&2; $(SHELL) ... > Actually, we use "shell_or_perl_ 9>&2", to make this effective > also for the perl-based tests. > * tests/init.sh (stderr_fileno_): Update the advice in comments. > See http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/22488 > for lots of discussion. Stefano Lattarini suggested the solution > of putting "9>&2" after the command. Reported by Bruno Haible. > --- > tests/check.mk | 3 +-- > tests/init.sh | 4 ++-- > 2 files changed, 3 insertions(+), 4 deletions(-) > > diff --git a/tests/check.mk b/tests/check.mk > index db7f067..9db96af 100644 > --- a/tests/check.mk > +++ b/tests/check.mk > @@ -58,7 +58,6 @@ TESTS_ENVIRONMENT = \ > test -d "$$tmp__" && test -w "$$tmp__" || tmp__=.; \ > . $(srcdir)/envvar-check; \ > TMPDIR=$$tmp__; export TMPDIR; \ > - exec 9>&2; \ > shell_or_perl_() { \ > if grep '^\#!/usr/bin/perl' "$$1" > /dev/null; then \ > if $(PERL) -e 'use warnings' > /dev/null 2>&1; then \ > @@ -100,6 +99,6 @@ TESTS_ENVIRONMENT = \ > REPLACE_GETCWD=$(REPLACE_GETCWD) \ > ; test -d /usr/xpg4/bin && PATH='/usr/xpg4/bin$(PATH_SEPARATOR)'"$$PATH"; \ > PATH='$(abs_top_builddir)/src$(PATH_SEPARATOR)'"$$PATH" \ > - ; shell_or_perl_ > + ; shell_or_perl_ 9>&2 > > VERBOSE = yes > diff --git a/tests/init.sh b/tests/init.sh > index 60d1bc1..a769d8b 100644 > --- a/tests/init.sh > +++ b/tests/init.sh > @@ -68,8 +68,8 @@ Exit () { set +e; (exit $1); exit $1; } > > # Print warnings (e.g., about skipped and failed tests) to this file number. > # Override by defining to say, 9, in init.cfg, and putting say, > -# "export ...ENVVAR_SETTINGS...; exec 9>&2; $(SHELL)" in the definition > -# of TESTS_ENVIRONMENT in your tests/Makefile.am file. > +# export ...ENVVAR_SETTINGS...; $(SHELL) "$$1" 9>&2 > What is this `$$1' here for? > +# in the definition of TESTS_ENVIRONMENT in your tests/Makefile.am file. > # This is useful when using automake's parallel tests mode, to print > # the reason for skip/failure to console, rather than to the .log files. > : ${stderr_fileno_=2} > -- > 1.7.6.rc0.293.g40857 > Regards, Stefano From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 14 04:47:23 2011 Received: (at 8846) by debbugs.gnu.org; 14 Jun 2011 08:47:23 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWPHO-0004Mq-S0 for submit@debbugs.gnu.org; Tue, 14 Jun 2011 04:47:23 -0400 Received: from mx.meyering.net ([82.230.74.64]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWPHL-0004Md-Be for 8846@debbugs.gnu.org; Tue, 14 Jun 2011 04:47:21 -0400 Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id 93F216011F; Tue, 14 Jun 2011 10:47:13 +0200 (CEST) From: Jim Meyering To: Stefano Lattarini Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed In-Reply-To: <201106141033.18609.stefano.lattarini@gmail.com> (Stefano Lattarini's message of "Tue, 14 Jun 2011 10:33:17 +0200") References: <201106131115.28601.bruno@clisp.org> <201106140934.02709.stefano.lattarini@gmail.com> <87oc20al3m.fsf@rho.meyering.net> <201106141033.18609.stefano.lattarini@gmail.com> Date: Tue, 14 Jun 2011 10:47:13 +0200 Message-ID: <877h8oajfy.fsf@rho.meyering.net> Lines: 144 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: 8846 Cc: Bruno Haible , bug-autoconf@gnu.org, 8846@debbugs.gnu.org, Eric Blake X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.0 (------) Stefano Lattarini wrote: > On Tuesday 14 June 2011, Jim Meyering wrote: >> Here's what I expect to do for coreutils, >> along with an advice-update for gnulib's init.sh: >> > Thanks, I'll apply something similar to automake `tests/defs' soonish. > I have a doubt below, tough (see near the end). > >> From e948173c1c461aac9f1c490061b257f55e42608d Mon Sep 17 00:00:00 2001 >> From: Jim Meyering >> Date: Tue, 14 Jun 2011 09:59:14 +0200 >> Subject: [PATCH] tests: accommodate HP-UX and Solaris shells >> >> Running "make check" normally prints a diagnostic to the outermost >> stderr (usually a tty) to explain why a test is skipped. It did this >> by redirecting FD 9 to stderr (via "exec 9>&2") before invoking the >> shell script. Shell scripts write skip-explanation to FD 9 via >> init.sh's skip_ function. However, with Solaris 10's ksh and HP-UX, >> the effects of "exec 9>&2" are canceled upon fork-and-exec, >> > BTW, this is true also for the default ksh on Debian GNU/Linux (but > note that this is just a "trivia fact", since on GNU/Linux basically > everybody uses either bash or dash as the non-interactive shell of > choice). Thanks. >> so we would get a "Bad file number" diagnostic and no skip explanation >> on those systems. >> * tests/check.mk (TESTS_ENVIRONMENT): Redirect more portably, via >> $(SHELL) "$$1" 9>&2, rather than the prior >> exec 9>&2; $(SHELL) ... >> Actually, we use "shell_or_perl_ 9>&2", to make this effective >> also for the perl-based tests. >> * tests/init.sh (stderr_fileno_): Update the advice in comments. >> See http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/22488 >> for lots of discussion. Stefano Lattarini suggested the solution >> of putting "9>&2" after the command. Reported by Bruno Haible. >> --- >> tests/check.mk | 3 +-- >> tests/init.sh | 4 ++-- >> 2 files changed, 3 insertions(+), 4 deletions(-) >> >> diff --git a/tests/check.mk b/tests/check.mk >> index db7f067..9db96af 100644 >> --- a/tests/check.mk >> +++ b/tests/check.mk >> @@ -58,7 +58,6 @@ TESTS_ENVIRONMENT = \ >> test -d "$$tmp__" && test -w "$$tmp__" || tmp__=.; \ >> . $(srcdir)/envvar-check; \ >> TMPDIR=$$tmp__; export TMPDIR; \ >> - exec 9>&2; \ >> shell_or_perl_() { \ >> if grep '^\#!/usr/bin/perl' "$$1" > /dev/null; then \ >> if $(PERL) -e 'use warnings' > /dev/null 2>&1; then \ >> @@ -100,6 +99,6 @@ TESTS_ENVIRONMENT = \ >> REPLACE_GETCWD=$(REPLACE_GETCWD) \ >> ; test -d /usr/xpg4/bin && PATH='/usr/xpg4/bin$(PATH_SEPARATOR)'"$$PATH"; \ >> PATH='$(abs_top_builddir)/src$(PATH_SEPARATOR)'"$$PATH" \ >> - ; shell_or_perl_ >> + ; shell_or_perl_ 9>&2 >> >> VERBOSE = yes >> diff --git a/tests/init.sh b/tests/init.sh >> index 60d1bc1..a769d8b 100644 >> --- a/tests/init.sh >> +++ b/tests/init.sh >> @@ -68,8 +68,8 @@ Exit () { set +e; (exit $1); exit $1; } >> >> # Print warnings (e.g., about skipped and failed tests) to this file number. >> # Override by defining to say, 9, in init.cfg, and putting say, >> -# "export ...ENVVAR_SETTINGS...; exec 9>&2; $(SHELL)" in the definition >> -# of TESTS_ENVIRONMENT in your tests/Makefile.am file. >> +# export ...ENVVAR_SETTINGS...; $(SHELL) "$$1" 9>&2 >> > What is this `$$1' here for? Good catch. It doesn't belong. I fixed the log, too. >From 67811abfda04dafdde114a50556f0e1d2e9b6270 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 14 Jun 2011 09:59:14 +0200 Subject: [PATCH] tests: accommodate HP-UX and Solaris shells Running "make check" normally prints a diagnostic to the outermost stderr (usually a tty) to explain why a test is skipped. It did this by redirecting FD 9 to stderr (via "exec 9>&2") before invoking the shell script. Shell scripts write skip-explanation to FD 9 via init.sh's skip_ function. However, with Solaris 10's ksh and HP-UX, the effects of "exec 9>&2" are canceled upon fork-and-exec, so we would get a "Bad file number" diagnostic and no skip explanation on those systems. * tests/check.mk (TESTS_ENVIRONMENT): Redirect more portably, via "$(SHELL) 9>&2", rather than the prior "exec 9>&2; $(SHELL) ..." Actually, we use "shell_or_perl_ 9>&2", to make this effective also for the perl-based tests. * tests/init.sh (stderr_fileno_): Update the advice in comments. See http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/22488 for lots of discussion. Stefano Lattarini suggested the solution of putting "9>&2" after the command. Reported by Bruno Haible. --- tests/check.mk | 3 +-- tests/init.sh | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/check.mk b/tests/check.mk index db7f067..9db96af 100644 --- a/tests/check.mk +++ b/tests/check.mk @@ -58,7 +58,6 @@ TESTS_ENVIRONMENT = \ test -d "$$tmp__" && test -w "$$tmp__" || tmp__=.; \ . $(srcdir)/envvar-check; \ TMPDIR=$$tmp__; export TMPDIR; \ - exec 9>&2; \ shell_or_perl_() { \ if grep '^\#!/usr/bin/perl' "$$1" > /dev/null; then \ if $(PERL) -e 'use warnings' > /dev/null 2>&1; then \ @@ -100,6 +99,6 @@ TESTS_ENVIRONMENT = \ REPLACE_GETCWD=$(REPLACE_GETCWD) \ ; test -d /usr/xpg4/bin && PATH='/usr/xpg4/bin$(PATH_SEPARATOR)'"$$PATH"; \ PATH='$(abs_top_builddir)/src$(PATH_SEPARATOR)'"$$PATH" \ - ; shell_or_perl_ + ; shell_or_perl_ 9>&2 VERBOSE = yes diff --git a/tests/init.sh b/tests/init.sh index 60d1bc1..4a52626 100644 --- a/tests/init.sh +++ b/tests/init.sh @@ -68,8 +68,8 @@ Exit () { set +e; (exit $1); exit $1; } # Print warnings (e.g., about skipped and failed tests) to this file number. # Override by defining to say, 9, in init.cfg, and putting say, -# "export ...ENVVAR_SETTINGS...; exec 9>&2; $(SHELL)" in the definition -# of TESTS_ENVIRONMENT in your tests/Makefile.am file. +# export ...ENVVAR_SETTINGS...; $(SHELL) 9>&2 +# in the definition of TESTS_ENVIRONMENT in your tests/Makefile.am file. # This is useful when using automake's parallel tests mode, to print # the reason for skip/failure to console, rather than to the .log files. : ${stderr_fileno_=2} -- 1.7.6.rc0.293.g40857 From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 07 05:04:21 2011 Received: (at submit) by debbugs.gnu.org; 7 Aug 2011 09:04:21 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QpzHR-00063G-Mh for submit@debbugs.gnu.org; Sun, 07 Aug 2011 05:04:21 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QpzHQ-00063A-7p for submit@debbugs.gnu.org; Sun, 07 Aug 2011 05:04:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QpzGV-0001vT-P5 for submit@debbugs.gnu.org; Sun, 07 Aug 2011 05:03:24 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:43103) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QpzGV-0001vN-Nb for submit@debbugs.gnu.org; Sun, 07 Aug 2011 05:03:23 -0400 Received: from eggs.gnu.org ([140.186.70.92]:56961) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QpzGU-0006rd-PV for bug-coreutils@gnu.org; Sun, 07 Aug 2011 05:03:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QpzGT-0001v3-PQ for bug-coreutils@gnu.org; Sun, 07 Aug 2011 05:03:22 -0400 Received: from mx.meyering.net ([82.230.74.64]:54405) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QpzGT-0001uw-Ej for bug-coreutils@gnu.org; Sun, 07 Aug 2011 05:03:21 -0400 Received: from rho.meyering.net (localhost.localdomain [127.0.0.1]) by rho.meyering.net (Acme Bit-Twister) with ESMTP id 54A966005B; Sun, 7 Aug 2011 11:03:19 +0200 (CEST) From: Jim Meyering To: Bruno Haible Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed In-Reply-To: <201106131407.39334.bruno@clisp.org> (Bruno Haible's message of "Mon, 13 Jun 2011 14:07:38 +0200") References: <201106131115.28601.bruno@clisp.org> <201106131230.18659.stefano.lattarini@gmail.com> <87tybuf1pq.fsf@rho.meyering.net> <201106131407.39334.bruno@clisp.org> Date: Sun, 07 Aug 2011 11:03:19 +0200 Message-ID: <87zkjlk2zs.fsf@rho.meyering.net> Lines: 24 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit Cc: bug-coreutils@gnu.org, 8846@debbugs.gnu.org, Stefano Lattarini X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) tags 8846 + moreinfo thanks Bruno Haible wrote: > Jim Meyering wrote: >> --- a/tests/init.sh >> +++ b/tests/init.sh >> @@ -74,7 +74,7 @@ Exit () { set +e; (exit $1); exit $1; } >> =A0# the reason for skip/failure to console, rather than to the .log fil= es. >> =A0: ${stderr_fileno_=3D2} >> >> -warn_ () { echo "$@" 1>&$stderr_fileno_; } >> +warn_ () { eval 'echo "$@" 1>&'"$stderr_fileno_"; } >> =A0fail_ () { warn_ "$ME_: failed test: $@"; Exit 1; } >> =A0skip_ () { warn_ "$ME_: skipped test: $@"; Exit 77; } >> =A0framework_failure_ () { warn_ "$ME_: set-up failure: $@"; Exit 99; } > > After applying this patch, here's the test-suite.log that I now get. Hi Bruno, This turned into a long thread. I think all issues raised here have been resolved. Can you confirm? From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 07 08:40:55 2011 Received: (at submit) by debbugs.gnu.org; 7 Aug 2011 12:40:55 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qq2f1-0003iQ-DM for submit@debbugs.gnu.org; Sun, 07 Aug 2011 08:40:55 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qq2ez-0003iJ-IK for submit@debbugs.gnu.org; Sun, 07 Aug 2011 08:40:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qq2e4-0003LJ-55 for submit@debbugs.gnu.org; Sun, 07 Aug 2011 08:39:57 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:39802) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qq2e4-0003LF-3e for submit@debbugs.gnu.org; Sun, 07 Aug 2011 08:39:56 -0400 Received: from eggs.gnu.org ([140.186.70.92]:60254) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qq2e3-00005u-6X for bug-coreutils@gnu.org; Sun, 07 Aug 2011 08:39:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qq2e2-0003L3-1O for bug-coreutils@gnu.org; Sun, 07 Aug 2011 08:39:55 -0400 Received: from mo-p00-ob.rzone.de ([81.169.146.160]:8375) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qq2e1-0003Ky-ND for bug-coreutils@gnu.org; Sun, 07 Aug 2011 08:39:53 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1312720792; l=413; s=domk; d=haible.de; h=Content-Transfer-Encoding:Content-Type:MIME-Version:In-Reply-To: References:Cc:Date:Subject:To:From:X-RZG-CLASS-ID:X-RZG-AUTH; bh=MSFu3k+x6xMGvepRI/L7C0oGxEQ=; b=t3ACo98kGXTVwfBar2+A68+RS0XLslEt/nWdeX0bVfpHHsMV3JJ/U0/ItD+OznzdRGh 4Ed9JDT7HwtFaH8DAcK7d3MOpeZ9hw7LYTYQADtyf8pNHrQKz9x0gzVgceo0AfTuyEUuZ 7IpTmUsgueT4PrR46cuTw7wph2Jm6EKtPf0= X-RZG-AUTH: :Ln4Re0+Ic/6oZXR1YgKryK8brksyK8dozXDwHXjf9hj/zDNRav445DE8 X-RZG-CLASS-ID: mo00 Received: from linuix.haible.de (dslb-088-068-038-069.pools.arcor-ip.net [88.68.38.69]) by smtp.strato.de (cohen mo50) (RZmta 26.2) with ESMTPA id z0109en779gj2Q ; Sun, 7 Aug 2011 14:39:05 +0200 (MEST) From: Bruno Haible To: Jim Meyering Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed Date: Sun, 7 Aug 2011 14:40:25 +0200 User-Agent: KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; ) References: <201106131115.28601.bruno@clisp.org> <201106131407.39334.bruno@clisp.org> <87zkjlk2zs.fsf@rho.meyering.net> In-Reply-To: <87zkjlk2zs.fsf@rho.meyering.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <201108071440.25507.bruno@clisp.org> X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.3 (-----) X-Debbugs-Envelope-To: submit Cc: bug-coreutils@gnu.org, 8846@debbugs.gnu.org, Stefano Lattarini X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.3 (-----) Hi Jim, > I think all issues raised here have been resolved. > Can you confirm? I think the du/inaccessible-cwd failure was not tackled. But anyway, feel free to close it, and let's test again when you have a pre-release of coreutils-8.13 that you want to get tested. Bruno -- In memoriam Szczepan Åšcibior From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 07 12:51:53 2011 Received: (at control) by debbugs.gnu.org; 7 Aug 2011 16:51:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qq6Zt-0003L2-Iq for submit@debbugs.gnu.org; Sun, 07 Aug 2011 12:51:53 -0400 Received: from mx.meyering.net ([82.230.74.64]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qq6Zr-0003Ku-Dt for control@debbugs.gnu.org; Sun, 07 Aug 2011 12:51:51 -0400 Received: from rho.meyering.net (localhost.localdomain [127.0.0.1]) by rho.meyering.net (Acme Bit-Twister) with ESMTP id 8A3BB6018D for ; Sun, 7 Aug 2011 18:50:53 +0200 (CEST) From: Jim Meyering To: control@debbugs.gnu.org Subject: repeat, but via control@... Date: Sun, 07 Aug 2011 18:50:53 +0200 Message-ID: <8762m9i2s2.fsf@rho.meyering.net> Lines: 2 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) tags 8846 + moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 07 16:12:43 2011 Received: (at 8846-done) by debbugs.gnu.org; 7 Aug 2011 20:12:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qq9iF-00023s-1k for submit@debbugs.gnu.org; Sun, 07 Aug 2011 16:12:43 -0400 Received: from mx.meyering.net ([82.230.74.64]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qq9iD-00023l-3o for 8846-done@debbugs.gnu.org; Sun, 07 Aug 2011 16:12:42 -0400 Received: from rho.meyering.net (localhost.localdomain [127.0.0.1]) by rho.meyering.net (Acme Bit-Twister) with ESMTP id 3F8B8600D0; Sun, 7 Aug 2011 22:11:42 +0200 (CEST) From: Jim Meyering To: Bruno Haible Subject: Re: bug#8846: coreutils-8.12 on HP-UX 11.31: 3 of 365 tests failed In-Reply-To: <201108071440.25507.bruno@clisp.org> (Bruno Haible's message of "Sun, 7 Aug 2011 14:40:25 +0200") References: <201106131115.28601.bruno@clisp.org> <201106131407.39334.bruno@clisp.org> <87zkjlk2zs.fsf@rho.meyering.net> <201108071440.25507.bruno@clisp.org> Date: Sun, 07 Aug 2011 22:11:42 +0200 Message-ID: <87pqkhf0ch.fsf@rho.meyering.net> Lines: 52 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: 8846-done Cc: 8846-done@debbugs.gnu.org, Stefano Lattarini X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) Bruno Haible wrote: > Hi Jim, > >> I think all issues raised here have been resolved. >> Can you confirm? > > I think the du/inaccessible-cwd failure was not tackled. But anyway, feel > free to close it, and let's test again when you have a pre-release of > coreutils-8.13 that you want to get tested. Thanks. I think that failure is inevitable on any system with such poor (save-cwd/restore-cwd--based) openat emulation. I.e., since it has neither the *at functions nor the /proc-based support to emulate them, the test must fail. If only to forestall further bug reports, it'd be good to arrange to skip that test on such systems. >From 24a047d93db642b8e73122a6e6553a475f216572 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 7 Aug 2011 22:09:42 +0200 Subject: [PATCH] tests: avoid lack-of-support du test failure on HP-UX 11.31 * tests/du/inaccessible-cwd: Skip this test on systems like HP-UX 11.31 that lack both the *at functions and the /proc/self/fd-based support we might have used to emulate them. Reported by Bruno Haible in http://debbugs.gnu.org/8846 --- tests/du/inaccessible-cwd | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/tests/du/inaccessible-cwd b/tests/du/inaccessible-cwd index 220ac7b..3dfe601 100755 --- a/tests/du/inaccessible-cwd +++ b/tests/du/inaccessible-cwd @@ -22,6 +22,11 @@ . "${srcdir=.}/init.sh"; path_prepend_ ../src print_ver_ du + +# Skip this test if your system has neither the openat-style functions +# nor /proc/self/fd support with which to emulate them. +require_openat_support_ + skip_if_root_ cwd=`pwd` -- 1.7.4.4 From unknown Thu Aug 14 21:56:34 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 05 Sep 2011 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator