Thanks, Paul, for the patch to tests/init.sh. I've just applied that and prepared gzip-1.5.p1.tar.gz that I then configured and built on both FreeBSD and NetBSD. This time, the runs succeeded, without any infinite loops (though that could be because /usr/local/bin/zdiff is now the latest version).
FreeBSD reports: # TOTAL: 12 # PASS: 12 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 NetBSD reports: # TOTAL: 12 # PASS: 10 # SKIP: 1 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 The failing test is help-version. Here is its log: + initial_cwd_=/local/build/bare/gzip-1.5.p1/tests + fail=0 + testdir_prefix_ + printf gt + pfx_=gt + mktempd_ /local/build/bare/gzip-1.5.p1/tests gt-help-version.XXXX + destdir_=/local/build/bare/gzip-1.5.p1/tests + template_=gt-help-version.XXXX + MAX_TRIES_=4 + unset TMPDIR + d=/tmp/-p.023518aa gt-help-version.518c + fail=1 + fail=1 + test -d /tmp/-p.023518aa gt-help-version.518c + fail=1 + ls -dgo /tmp/-p.023518aa gt-help-version.518c + tr S - + perms= + fail=1 + test 1 = 0 + echo gt-help-version.XXXX + sed s/XX*$// + base_template_=gt-help-version. + echo gt-help-version.XXXX + wc -c + template_length_= 21 + echo gt-help-version. + wc -c + nx_= 17 + expr 21 - 17 + nx_=4 + err_= + i_=1 + : + rand_bytes_ 4 + n_=4 + chars_=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 + dev_rand_=/dev/urandom + test -r /dev/urandom + dd ibs=4 count=1 if=/dev/urandom + LC_ALL=C tr -c abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 01234567abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 + return + X_=1111 + candidate_dir_=/local/build/bare/gzip-1.5.p1/tests/gt-help-version.1111 + mkdir -m 0700 /local/build/bare/gzip-1.5.p1/tests/gt-help-version.1111 + err_= + echo /local/build/bare/gzip-1.5.p1/tests/gt-help-version.1111 + return + test_dir_=/local/build/bare/gzip-1.5.p1/tests/gt-help-version.1111 + cd /local/build/bare/gzip-1.5.p1/tests/gt-help-version.1111 + gl_init_sh_nl_= + IFS= + expr 1 + 128 + eval trap 'Exit 129' 1 + trap Exit 129 1 + expr 2 + 128 + eval trap 'Exit 130' 2 + trap Exit 130 2 + expr 3 + 128 + eval trap 'Exit 131' 3 + trap Exit 131 3 + expr 13 + 128 + eval trap 'Exit 141' 13 + trap Exit 141 13 + expr 15 + 128 + eval trap 'Exit 143' 15 + trap Exit 143 15 + trap remove_tmp_ 0 + path_prepend_ .. + test 1 != 0 + path_dir_=.. + cd /local/build/bare/gzip-1.5.p1/tests/.. + echo /local/build/bare/gzip-1.5.p1 + abs_path_dir_=/local/build/bare/gzip-1.5.p1 + PATH=/local/build/bare/gzip-1.5.p1:/local/build/bare/gzip-1.5.p1:/bin:/usr/bin + create_exe_shims_ /local/build/bare/gzip-1.5.p1 + return 0 + shift + test 0 != 0 + export PATH + expected_failure_status_chroot=125 + expected_failure_status_env=125 + expected_failure_status_nice=125 + expected_failure_status_nohup=125 + expected_failure_status_stdbuf=125 + expected_failure_status_su=125 + expected_failure_status_timeout=125 + expected_failure_status_printenv=2 + expected_failure_status_tty=3 + expected_failure_status_sort=2 + expected_failure_status_expr=3 + expected_failure_status_lbracket=2 + expected_failure_status_dir=2 + expected_failure_status_ls=2 + expected_failure_status_vdir=2 + expected_failure_status_cmp=2 + expected_failure_status_zcmp=2 + expected_failure_status_sdiff=2 + expected_failure_status_diff3=2 + expected_failure_status_diff=2 + expected_failure_status_zdiff=2 + expected_failure_status_zgrep=2 + expected_failure_status_zegrep=2 + expected_failure_status_zfgrep=2 + expected_failure_status_grep=2 + expected_failure_status_egrep=2 + expected_failure_status_fgrep=2 + test gzip gunzip gzexe zcat zcmp zdiff zegrep zfgrep zforce zgrep zless zmore znew + test 1.5 + env gzip --version + sed -n 1s/.* //p;q + v=1.5 + break + test x1.5 = x1.5 + test gzip = test + test gzip = false + test gzip = install + env gzip --help + env gzip --version + grep bug-gzip@gnu.org h-gzip + rm -f h-gzip + test -w /dev/full + test gunzip = test + test gunzip = false + test gunzip = install + env gunzip --help + env gunzip --version + grep bug-gzip@gnu.org h-gunzip + rm -f h-gunzip + test -w /dev/full + test gzexe = test + test gzexe = false + test gzexe = install + env gzexe --help + env gzexe --version + grep bug-gzip@gnu.org h-gzexe + rm -f h-gzexe + test -w /dev/full + test zcat = test + test zcat = false + test zcat = install + env zcat --help + env zcat --version + grep bug-gzip@gnu.org h-zcat + rm -f h-zcat + test -w /dev/full + test zcmp = test + test zcmp = false + test zcmp = install + env zcmp --help + env zcmp --version + grep bug-gzip@gnu.org h-zcmp + rm -f h-zcmp + test -w /dev/full + test zdiff = test + test zdiff = false + test zdiff = install + env zdiff --help + env zdiff --version + grep bug-gzip@gnu.org h-zdiff + rm -f h-zdiff + test -w /dev/full + test zegrep = test + test zegrep = false + test zegrep = install + env zegrep --help + env zegrep --version + grep bug-gzip@gnu.org h-zegrep + rm -f h-zegrep + test -w /dev/full + test zfgrep = test + test zfgrep = false + test zfgrep = install + env zfgrep --help + env zfgrep --version + grep bug-gzip@gnu.org h-zfgrep + rm -f h-zfgrep + test -w /dev/full + test zforce = test + test zforce = false + test zforce = install + env zforce --help + env zforce --version + grep bug-gzip@gnu.org h-zforce + rm -f h-zforce + test -w /dev/full + test zgrep = test + test zgrep = false + test zgrep = install + env zgrep --help + env zgrep --version + grep bug-gzip@gnu.org h-zgrep + rm -f h-zgrep + test -w /dev/full + test zless = test + test zless = false + test zless = install + env zless --help + env zless --version + grep bug-gzip@gnu.org h-zless + rm -f h-zless + test -w /dev/full + test zmore = test + test zmore = false + test zmore = install + env zmore --help + env zmore --version + grep bug-gzip@gnu.org h-zmore + rm -f h-zmore + test -w /dev/full + test znew = test + test znew = false + test znew = install + env znew --help + env znew --version + grep bug-gzip@gnu.org h-znew + rm -f h-znew + test -w /dev/full + test gzip = test + test gzip = false + test gzip = install + env gzip --help + env gzip --version + grep bug-gzip@gnu.org h-gzip + rm -f h-gzip + test -w /dev/full + test gunzip = test + test gunzip = false + test gunzip = install + env gunzip --help + env gunzip --version + grep bug-gzip@gnu.org h-gunzip + rm -f h-gunzip + test -w /dev/full + test gzexe = test + test gzexe = false + test gzexe = install + env gzexe --help + env gzexe --version + grep bug-gzip@gnu.org h-gzexe + rm -f h-gzexe + test -w /dev/full + test zcat = test + test zcat = false + test zcat = install + env zcat --help + env zcat --version + grep bug-gzip@gnu.org h-zcat + rm -f h-zcat + test -w /dev/full + test zcmp = test + test zcmp = false + test zcmp = install + env zcmp --help + env zcmp --version + grep bug-gzip@gnu.org h-zcmp + rm -f h-zcmp + test -w /dev/full + test zdiff = test + test zdiff = false + test zdiff = install + env zdiff --help + env zdiff --version + grep bug-gzip@gnu.org h-zdiff + rm -f h-zdiff + test -w /dev/full + test zegrep = test + test zegrep = false + test zegrep = install + env zegrep --help + env zegrep --version + grep bug-gzip@gnu.org h-zegrep + rm -f h-zegrep + test -w /dev/full + test zfgrep = test + test zfgrep = false + test zfgrep = install + env zfgrep --help + env zfgrep --version + grep bug-gzip@gnu.org h-zfgrep + rm -f h-zfgrep + test -w /dev/full + test zforce = test + test zforce = false + test zforce = install + env zforce --help + env zforce --version + grep bug-gzip@gnu.org h-zforce + rm -f h-zforce + test -w /dev/full + test zgrep = test + test zgrep = false + test zgrep = install + env zgrep --help + env zgrep --version + grep bug-gzip@gnu.org h-zgrep + rm -f h-zgrep + test -w /dev/full + test zless = test + test zless = false + test zless = install + env zless --help + env zless --version + grep bug-gzip@gnu.org h-zless + rm -f h-zless + test -w /dev/full + test zmore = test + test zmore = false + test zmore = install + env zmore --help + env zmore --version + grep bug-gzip@gnu.org h-zmore + rm -f h-zmore + test -w /dev/full + test znew = test + test znew = false + test znew = install + env znew --help + env znew --version + grep bug-gzip@gnu.org h-znew + rm -f h-znew + test -w /dev/full + test gzip = test + test gzip = false + test gzip = install + env gzip --help + env gzip --version + grep bug-gzip@gnu.org h-gzip + rm -f h-gzip + test -w /dev/full + test gunzip = test + test gunzip = false + test gunzip = install + env gunzip --help + env gunzip --version + grep bug-gzip@gnu.org h-gunzip + rm -f h-gunzip + test -w /dev/full + test gzexe = test + test gzexe = false + test gzexe = install + env gzexe --help + env gzexe --version + grep bug-gzip@gnu.org h-gzexe + rm -f h-gzexe + test -w /dev/full + test zcat = test + test zcat = false + test zcat = install + env zcat --help + env zcat --version + grep bug-gzip@gnu.org h-zcat + rm -f h-zcat + test -w /dev/full + test zcmp = test + test zcmp = false + test zcmp = install + env zcmp --help + env zcmp --version + grep bug-gzip@gnu.org h-zcmp + rm -f h-zcmp + test -w /dev/full + test zdiff = test + test zdiff = false + test zdiff = install + env zdiff --help + env zdiff --version + grep bug-gzip@gnu.org h-zdiff + rm -f h-zdiff + test -w /dev/full + test zegrep = test + test zegrep = false + test zegrep = install + env zegrep --help + env zegrep --version + grep bug-gzip@gnu.org h-zegrep + rm -f h-zegrep + test -w /dev/full + test zfgrep = test + test zfgrep = false + test zfgrep = install + env zfgrep --help + env zfgrep --version + grep bug-gzip@gnu.org h-zfgrep + rm -f h-zfgrep + test -w /dev/full + test zforce = test + test zforce = false + test zforce = install + env zforce --help + env zforce --version + grep bug-gzip@gnu.org h-zforce + rm -f h-zforce + test -w /dev/full + test zgrep = test + test zgrep = false + test zgrep = install + env zgrep --help + env zgrep --version + grep bug-gzip@gnu.org h-zgrep + rm -f h-zgrep + test -w /dev/full + test zless = test + test zless = false + test zless = install + env zless --help + env zless --version + grep bug-gzip@gnu.org h-zless + rm -f h-zless + test -w /dev/full + test zmore = test + test zmore = false + test zmore = install + env zmore --help + env zmore --version + grep bug-gzip@gnu.org h-zmore + rm -f h-zmore + test -w /dev/full + test znew = test + test znew = false + test znew = install + env znew --help + env znew --version + grep bug-gzip@gnu.org h-znew + rm -f h-znew + test -w /dev/full + bigZ_in=bigZ-in.Z + zin=zin.gz + zin2=zin2.gz + tmp=tmp-5070 + tmp_in=in-5070 + tmp_in2=in2-5070 + tmp_dir=dir-5070 + tmp_out=out-5070 + mkdir tmp-5070 + cd tmp-5070 + rm -rf in-5070 in2-5070 dir-5070 out-5070 bigZ-in.Z zin.gz zin2.gz + echo z + gzip + cp zin.gz zin2.gz + cp zin.gz bigZ-in.Z + echo 2147483647 0 + cp in-5070 in2-5070 + mkdir dir-5070 + test gzip = [ + prog=gzip + type gzip_setup + args= + env gzip + : + rm -rf in-5070 in2-5070 out-5070 dir-5070 + rm -rf in-5070 in2-5070 dir-5070 out-5070 bigZ-in.Z zin.gz zin2.gz + echo z + gzip + cp zin.gz zin2.gz + cp zin.gz bigZ-in.Z + echo 2147483647 0 + cp in-5070 in2-5070 + mkdir dir-5070 + test gunzip = [ + prog=gunzip + type gunzip_setup + gunzip_setup + args=zin.gz + env gunzip zin.gz + : + rm -rf in-5070 in2-5070 out-5070 dir-5070 + rm -rf in-5070 in2-5070 dir-5070 out-5070 bigZ-in.Z zin.gz zin2.gz + echo z + gzip + cp zin.gz zin2.gz + cp zin.gz bigZ-in.Z + echo 2147483647 0 + cp in-5070 in2-5070 + mkdir dir-5070 + test gzexe = [ + prog=gzexe + type gzexe_setup + gzexe_setup + args=in-5070 + env gzexe in-5070 in-5070: -15.4% + : + rm -rf in-5070 in2-5070 out-5070 dir-5070 + rm -rf in-5070 in2-5070 dir-5070 out-5070 bigZ-in.Z zin.gz zin2.gz + echo z + gzip + cp zin.gz zin2.gz + cp zin.gz bigZ-in.Z + echo 2147483647 0 + cp in-5070 in2-5070 + mkdir dir-5070 + test zcat = [ + prog=zcat + type zcat_setup + zcat_setup + args=zin.gz + env zcat zin.gz + : + rm -rf in-5070 in2-5070 out-5070 dir-5070 + rm -rf in-5070 in2-5070 dir-5070 out-5070 bigZ-in.Z zin.gz zin2.gz + echo z + gzip + cp zin.gz zin2.gz + cp zin.gz bigZ-in.Z + echo 2147483647 0 + cp in-5070 in2-5070 + mkdir dir-5070 + test zcmp = [ + prog=zcmp + type zcmp_setup + zcmp_setup + args=zin.gz zin2.gz + env zcmp zin.gz zin2.gz + : + rm -rf in-5070 in2-5070 out-5070 dir-5070 + rm -rf in-5070 in2-5070 dir-5070 out-5070 bigZ-in.Z zin.gz zin2.gz + echo z + gzip + cp zin.gz zin2.gz + cp zin.gz bigZ-in.Z + echo 2147483647 0 + cp in-5070 in2-5070 + mkdir dir-5070 + test zdiff = [ + prog=zdiff + type zdiff_setup + zdiff_setup + args=zin.gz zin2.gz + env zdiff zin.gz zin2.gz + : + rm -rf in-5070 in2-5070 out-5070 dir-5070 + rm -rf in-5070 in2-5070 dir-5070 out-5070 bigZ-in.Z zin.gz zin2.gz + echo z + gzip + cp zin.gz zin2.gz + cp zin.gz bigZ-in.Z + echo 2147483647 0 + cp in-5070 in2-5070 + mkdir dir-5070 + test zegrep = [ + prog=zegrep + type zegrep_setup + zegrep_setup + args=z zin.gz + env zegrep z zin.gz + : + rm -rf in-5070 in2-5070 out-5070 dir-5070 + rm -rf in-5070 in2-5070 dir-5070 out-5070 bigZ-in.Z zin.gz zin2.gz + echo z + gzip + cp zin.gz zin2.gz + cp zin.gz bigZ-in.Z + echo 2147483647 0 + cp in-5070 in2-5070 + mkdir dir-5070 + test zfgrep = [ + prog=zfgrep + type zfgrep_setup + zfgrep_setup + args=z zin.gz + env zfgrep z zin.gz + : + rm -rf in-5070 in2-5070 out-5070 dir-5070 + rm -rf in-5070 in2-5070 dir-5070 out-5070 bigZ-in.Z zin.gz zin2.gz + echo z + gzip + cp zin.gz zin2.gz + cp zin.gz bigZ-in.Z + echo 2147483647 0 + cp in-5070 in2-5070 + mkdir dir-5070 + test zforce = [ + prog=zforce + type zforce_setup + zforce_setup + args=zin.gz + env zforce zin.gz + : + rm -rf in-5070 in2-5070 out-5070 dir-5070 + rm -rf in-5070 in2-5070 dir-5070 out-5070 bigZ-in.Z zin.gz zin2.gz + echo z + gzip + cp zin.gz zin2.gz + cp zin.gz bigZ-in.Z + echo 2147483647 0 + cp in-5070 in2-5070 + mkdir dir-5070 + test zgrep = [ + prog=zgrep + type zgrep_setup + zgrep_setup + args=z zin.gz + env zgrep z zin.gz + : + rm -rf in-5070 in2-5070 out-5070 dir-5070 + rm -rf in-5070 in2-5070 dir-5070 out-5070 bigZ-in.Z zin.gz zin2.gz + echo z + gzip + cp zin.gz zin2.gz + cp zin.gz bigZ-in.Z + echo 2147483647 0 + cp in-5070 in2-5070 + mkdir dir-5070 + test zless = [ + prog=zless + type zless_setup + zless_setup + args=zin.gz + env zless zin.gz + : + rm -rf in-5070 in2-5070 out-5070 dir-5070 + rm -rf in-5070 in2-5070 dir-5070 out-5070 bigZ-in.Z zin.gz zin2.gz + echo z + gzip + cp zin.gz zin2.gz + cp zin.gz bigZ-in.Z + echo 2147483647 0 + cp in-5070 in2-5070 + mkdir dir-5070 + test zmore = [ + prog=zmore + type zmore_setup + zmore_setup + args=zin.gz + env zmore zin.gz + echo FAIL: zmore FAIL: zmore + fail=1 + rm -rf in-5070 in2-5070 out-5070 dir-5070 + rm -rf in-5070 in2-5070 dir-5070 out-5070 bigZ-in.Z zin.gz zin2.gz + echo z + gzip + cp zin.gz zin2.gz + cp zin.gz bigZ-in.Z + echo 2147483647 0 + cp in-5070 in2-5070 + mkdir dir-5070 + test znew = [ + prog=znew + type znew_setup + znew_setup + args=bigZ-in.Z + env znew bigZ-in.Z + : + rm -rf in-5070 in2-5070 out-5070 dir-5070 + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + cd /local/build/bare/gzip-1.5.p1/tests + chmod -R u+rwx /local/build/bare/gzip-1.5.p1/tests/gt-help-version.1111 + rm -rf /local/build/bare/gzip-1.5.p1/tests/gt-help-version.1111 + exit 1 ------------------------------------------------------------------------------- - Nelson H. F. Beebe Tel: +1 801 581 5254 - - University of Utah FAX: +1 801 581 4148 - - Department of Mathematics, 110 LCB Internet e-mail: be...@math.utah.edu - - 155 S 1400 E RM 233 be...@acm.org be...@computer.org - - Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ - -------------------------------------------------------------------------------