On Solaris 11.4 (x86_64, in 64-bit mode), there are 4 test failures:
FAIL: tests/misc/stty-row-col ============================= ++ initial_cwd_=/export/home/bruno/coreutils-9.0.193-54bec/build-64 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /export/home/bruno/coreutils-9.0.193-54bec/build-64 gt-stty-row-col.sh.XXXX +++ case $# in +++ destdir_=/export/home/bruno/coreutils-9.0.193-54bec/build-64 +++ template_=gt-stty-row-col.sh.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ destdir_slash_=/export/home/bruno/coreutils-9.0.193-54bec/build-64/ +++ case $template_ in ++++ unset TMPDIR +++ d=/export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-stty-row-col.sh.xYIS +++ case $d in +++ : +++ test -d /export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-stty-row-col.sh.xYIS ++++ ls -dgo /export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-stty-row-col.sh.xYIS +++ perms='drwx------ 2 2 Apr 10 17:53 /export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-stty-row-col.sh.xYIS' +++ case $perms in +++ : +++ echo /export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-stty-row-col.sh.xYIS +++ return ++ test_dir_=/export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-stty-row-col.sh.xYIS ++ cd /export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-stty-row-col.sh.xYIS ++ case $srcdir in ++ srcdir=../.. ++ builddir=.. ++ export srcdir builddir ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ saved_IFS=' ' ++ IFS=: ++ new_PATH= ++ sep_= ++ for dir in $PATH ++ case "$dir" in ++ test -d /export/home/bruno/coreutils-9.0.193-54bec/build-64/src/. ++ new_PATH=/export/home/bruno/coreutils-9.0.193-54bec/build-64/src ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /usr/xpg4/bin/. ++ new_PATH=/export/home/bruno/coreutils-9.0.193-54bec/build-64/src:/usr/xpg4/bin ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /export/home/bruno/prefix64/bin/. ++ new_PATH=/export/home/bruno/coreutils-9.0.193-54bec/build-64/src:/usr/xpg4/bin:/export/home/bruno/prefix64/bin ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /usr/bin/. ++ new_PATH=/export/home/bruno/coreutils-9.0.193-54bec/build-64/src:/usr/xpg4/bin:/export/home/bruno/prefix64/bin:/usr/bin ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /usr/sbin/. ++ new_PATH=/export/home/bruno/coreutils-9.0.193-54bec/build-64/src:/usr/xpg4/bin:/export/home/bruno/prefix64/bin:/usr/bin:/usr/sbin ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /sbin/. ++ new_PATH=/export/home/bruno/coreutils-9.0.193-54bec/build-64/src:/usr/xpg4/bin:/export/home/bruno/prefix64/bin:/usr/bin:/usr/sbin:/sbin ++ sep_=: ++ IFS=' ' ++ PATH=/export/home/bruno/coreutils-9.0.193-54bec/build-64/src:/usr/xpg4/bin:/export/home/bruno/prefix64/bin:/usr/bin:/usr/sbin:/sbin ++ export PATH ++ trap remove_tmp_ 0 + path_prepend_ ./src + test 1 '!=' 0 + path_dir_=./src + case $path_dir_ in + abs_path_dir_=/export/home/bruno/coreutils-9.0.193-54bec/build-64/./src + case $abs_path_dir_ in + PATH=/export/home/bruno/coreutils-9.0.193-54bec/build-64/./src:/export/home/bruno/coreutils-9.0.193-54bec/build-64/src:/usr/xpg4/bin:/export/home/bruno/prefix64/bin:/usr/bin:/usr/sbin:/sbin + create_exe_shims_ /export/home/bruno/coreutils-9.0.193-54bec/build-64/./src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ stty + require_built_ stty + skip_=no + for i in "$@" + case " $built_programs " in + test no = yes + test yes = yes + local i + for i in $* + env stty --version stty (GNU coreutils) 9.0.193-54bec Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie. + require_controlling_input_terminal_ + have_input_tty=yes + tty -s + test -t 0 + test yes = no + require_trap_signame_ + trap '' CHLD + trap '' TTOU + tests=' 1 rows_40_columns_80 40_80 2 rows_1_columns_1 1_1 3 rows_40_columns_80 40_80 4 rows_1 1_80 5 columns_1 1_1 6 rows_40 40_1 7 rows_1 1_1 8 columns_80 1_80 9 rows_30 30_80 10 rows_0x1E 30_80 11 rows_036 30_80 NA LAST NA ' + set 1 rows_40_columns_80 40_80 2 rows_1_columns_1 1_1 3 rows_40_columns_80 40_80 4 rows_1 1_80 5 columns_1 1_1 6 rows_40 40_1 7 rows_1 1_1 8 columns_80 1_80 9 rows_30 30_80 10 rows_0x1E 30_80 11 rows_036 30_80 NA LAST NA ++ stty size + saved_size='34 80' + test -n '34 80' + test 'x34 80' '!=' 'x0 0' ++ echo 34 80 ++ cut -d ' ' -f1 + srow=34 ++ echo 34 80 ++ cut -d ' ' -f2 + scol=80 ++ expr 34 + 1 ++ expr 80 + 1 + stty rows 35 cols 81 + : + test_name=1 + args=rows_40_columns_80 ++ echo 40_80 ++ tr _ ' ' + expected_result='40 80' + test rows_40_columns_80 = empty + test xrows_40_columns_80 = xLAST ++ echo xrows_40_columns_80 ++ sed 's/^x//' ++ tr _ ' ' + args='rows 40 columns 80' + test yes = yes + echo 'test 1... ' + tr -d '\n' test 1... + stty rows 40 columns 80 ++ stty size + test 'x34 80' = 'x40 80' + ok=FAIL + fail=1 + test yes = yes + echo FAIL FAIL + shift + shift + shift + : + test_name=2 + args=rows_1_columns_1 ++ echo 1_1 ++ tr _ ' ' + expected_result='1 1' + test rows_1_columns_1 = empty + test xrows_1_columns_1 = xLAST ++ echo xrows_1_columns_1 ++ tr _ ' ' ++ sed 's/^x//' + args='rows 1 columns 1' + test yes = yes + echo 'test 2... ' + tr -d '\n' test 2... + stty rows 1 columns 1 ++ stty size + test 'x34 80' = 'x1 1' + ok=FAIL + fail=1 + test yes = yes + echo FAIL FAIL + shift + shift + shift + : + test_name=3 + args=rows_40_columns_80 ++ echo 40_80 ++ tr _ ' ' + expected_result='40 80' + test rows_40_columns_80 = empty + test xrows_40_columns_80 = xLAST ++ echo xrows_40_columns_80 ++ tr _ ' ' ++ sed 's/^x//' + args='rows 40 columns 80' + test yes = yes + echo 'test 3... ' + tr -d '\n' test 3... + stty rows 40 columns 80 ++ stty size + test 'x34 80' = 'x40 80' + ok=FAIL + fail=1 + test yes = yes + echo FAIL FAIL + shift + shift + shift + : + test_name=4 + args=rows_1 ++ echo 1_80 ++ tr _ ' ' + expected_result='1 80' + test rows_1 = empty + test xrows_1 = xLAST ++ echo xrows_1 ++ tr _ ' ' ++ sed 's/^x//' + args='rows 1' + test yes = yes + echo 'test 4... ' + tr -d '\n' test 4... + stty rows 1 ++ stty size + test 'x34 80' = 'x1 80' + ok=FAIL + fail=1 + test yes = yes + echo FAIL FAIL + shift + shift + shift + : + test_name=5 + args=columns_1 ++ echo 1_1 ++ tr _ ' ' + expected_result='1 1' + test columns_1 = empty + test xcolumns_1 = xLAST ++ echo xcolumns_1 ++ tr _ ' ' ++ sed 's/^x//' + args='columns 1' + test yes = yes + echo 'test 5... ' + tr -d '\n' test 5... + stty columns 1 ++ stty size + test 'x34 80' = 'x1 1' + ok=FAIL + fail=1 + test yes = yes + echo FAIL FAIL + shift + shift + shift + : + test_name=6 + args=rows_40 ++ echo 40_1 ++ tr _ ' ' + expected_result='40 1' + test rows_40 = empty + test xrows_40 = xLAST ++ echo xrows_40 ++ tr _ ' ' ++ sed 's/^x//' + args='rows 40' + test yes = yes + echo 'test 6... ' + tr -d '\n' test 6... + stty rows 40 ++ stty size + test 'x34 80' = 'x40 1' + ok=FAIL + fail=1 + test yes = yes + echo FAIL FAIL + shift + shift + shift + : + test_name=7 + args=rows_1 ++ echo 1_1 ++ tr _ ' ' + expected_result='1 1' + test rows_1 = empty + test xrows_1 = xLAST ++ echo xrows_1 ++ tr _ ' ' ++ sed 's/^x//' + args='rows 1' + test yes = yes + echo 'test 7... ' + tr -d '\n' test 7... + stty rows 1 ++ stty size + test 'x34 80' = 'x1 1' + ok=FAIL + fail=1 + test yes = yes + echo FAIL FAIL + shift + shift + shift + : + test_name=8 + args=columns_80 ++ echo 1_80 ++ tr _ ' ' + expected_result='1 80' + test columns_80 = empty + test xcolumns_80 = xLAST ++ echo xcolumns_80 ++ tr _ ' ' ++ sed 's/^x//' + args='columns 80' + test yes = yes + echo 'test 8... ' + tr -d '\n' test 8... + stty columns 80 ++ stty size + test 'x34 80' = 'x1 80' + ok=FAIL + fail=1 + test yes = yes + echo FAIL FAIL + shift + shift + shift + : + test_name=9 + args=rows_30 ++ echo 30_80 ++ tr _ ' ' + expected_result='30 80' + test rows_30 = empty + test xrows_30 = xLAST ++ echo xrows_30 ++ tr _ ' ' ++ sed 's/^x//' + args='rows 30' + test yes = yes + echo 'test 9... ' + tr -d '\n' test 9... + stty rows 30 ++ stty size + test 'x34 80' = 'x30 80' + ok=FAIL + fail=1 + test yes = yes + echo FAIL FAIL + shift + shift + shift + : + test_name=10 + args=rows_0x1E ++ echo 30_80 ++ tr _ ' ' + expected_result='30 80' + test rows_0x1E = empty + test xrows_0x1E = xLAST ++ echo xrows_0x1E ++ tr _ ' ' ++ sed 's/^x//' + args='rows 0x1E' + test yes = yes + echo 'test 10... ' + tr -d '\n' test 10... + stty rows 0x1E ++ stty size + test 'x34 80' = 'x30 80' + ok=FAIL + fail=1 + test yes = yes + echo FAIL FAIL + shift + shift + shift + : + test_name=11 + args=rows_036 ++ echo 30_80 ++ tr _ ' ' + expected_result='30 80' + test rows_036 = empty + test xrows_036 = xLAST ++ echo xrows_036 ++ tr _ ' ' ++ sed 's/^x//' + args='rows 036' + test yes = yes + echo 'test 11... ' + tr -d '\n' test 11... + stty rows 036 ++ stty size + test 'x34 80' = 'x30 80' + ok=FAIL + fail=1 + test yes = yes + echo FAIL FAIL + shift + shift + shift + : + test_name=NA + args=LAST ++ echo NA ++ tr _ ' ' + expected_result=NA + test LAST = empty + test xLAST = xLAST + break + set x 34 80 + stty rows 34 columns 80 + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + test '' = yes + cd /export/home/bruno/coreutils-9.0.193-54bec/build-64 + chmod -R u+rwx /export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-stty-row-col.sh.xYIS + rm -rf /export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-stty-row-col.sh.xYIS + exit 1 FAIL tests/misc/stty-row-col.sh (exit status: 1) FAIL: tests/install/basic-1 =========================== ++ initial_cwd_=/export/home/bruno/coreutils-9.0.193-54bec/build-64 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /export/home/bruno/coreutils-9.0.193-54bec/build-64 gt-basic-1.sh.XXXX +++ case $# in +++ destdir_=/export/home/bruno/coreutils-9.0.193-54bec/build-64 +++ template_=gt-basic-1.sh.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ destdir_slash_=/export/home/bruno/coreutils-9.0.193-54bec/build-64/ +++ case $template_ in ++++ unset TMPDIR +++ d=/export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-basic-1.sh.Uypn +++ case $d in +++ : +++ test -d /export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-basic-1.sh.Uypn ++++ ls -dgo /export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-basic-1.sh.Uypn +++ perms='drwx------ 2 2 Apr 10 17:59 /export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-basic-1.sh.Uypn' +++ case $perms in +++ : +++ echo /export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-basic-1.sh.Uypn +++ return ++ test_dir_=/export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-basic-1.sh.Uypn ++ cd /export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-basic-1.sh.Uypn ++ case $srcdir in ++ srcdir=../.. ++ builddir=.. ++ export srcdir builddir ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ saved_IFS=' ' ++ IFS=: ++ new_PATH= ++ sep_= ++ for dir in $PATH ++ case "$dir" in ++ test -d /export/home/bruno/coreutils-9.0.193-54bec/build-64/src/. ++ new_PATH=/export/home/bruno/coreutils-9.0.193-54bec/build-64/src ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /usr/xpg4/bin/. ++ new_PATH=/export/home/bruno/coreutils-9.0.193-54bec/build-64/src:/usr/xpg4/bin ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /export/home/bruno/prefix64/bin/. ++ new_PATH=/export/home/bruno/coreutils-9.0.193-54bec/build-64/src:/usr/xpg4/bin:/export/home/bruno/prefix64/bin ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /usr/bin/. ++ new_PATH=/export/home/bruno/coreutils-9.0.193-54bec/build-64/src:/usr/xpg4/bin:/export/home/bruno/prefix64/bin:/usr/bin ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /usr/sbin/. ++ new_PATH=/export/home/bruno/coreutils-9.0.193-54bec/build-64/src:/usr/xpg4/bin:/export/home/bruno/prefix64/bin:/usr/bin:/usr/sbin ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /sbin/. ++ new_PATH=/export/home/bruno/coreutils-9.0.193-54bec/build-64/src:/usr/xpg4/bin:/export/home/bruno/prefix64/bin:/usr/bin:/usr/sbin:/sbin ++ sep_=: ++ IFS=' ' ++ PATH=/export/home/bruno/coreutils-9.0.193-54bec/build-64/src:/usr/xpg4/bin:/export/home/bruno/prefix64/bin:/usr/bin:/usr/sbin:/sbin ++ export PATH ++ trap remove_tmp_ 0 + path_prepend_ ./src + test 1 '!=' 0 + path_dir_=./src + case $path_dir_ in + abs_path_dir_=/export/home/bruno/coreutils-9.0.193-54bec/build-64/./src + case $abs_path_dir_ in + PATH=/export/home/bruno/coreutils-9.0.193-54bec/build-64/./src:/export/home/bruno/coreutils-9.0.193-54bec/build-64/src:/usr/xpg4/bin:/export/home/bruno/prefix64/bin:/usr/bin:/usr/sbin:/sbin + create_exe_shims_ /export/home/bruno/coreutils-9.0.193-54bec/build-64/./src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ ginstall + require_built_ ginstall + skip_=no + for i in "$@" + case " $built_programs " in + test no = yes + test yes = yes + local i + for i in $* + env ginstall --version install (GNU coreutils) 9.0.193-54bec Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie. + skip_if_root_ + uid_is_privileged_ ++ id -u + my_uid=100 + case $my_uid in + return 1 + dir=dir + file=file + rm -rf dir file + mkdir -p dir + echo foo + ginstall file dir + test -f file + test -f dir/file + dd=dd + dd2=dd2 + just_built_dd=/export/home/bruno/coreutils-9.0.193-54bec/build-64/src/dd + test -r /export/home/bruno/coreutils-9.0.193-54bec/build-64/src/dd + cp /export/home/bruno/coreutils-9.0.193-54bec/build-64/src/dd . + cp dd dd2 + strip=-s + strip dd2 + ginstall -s -c -m 555 dd dir + test -f dd ++ ls -l dir/dd ++ cut -b-10 + mode=-r-xr-xr-x + test -r-xr-xr-x = -r-xr-xr-x + ginstall -d . + ginstall -d newdir + test -d newdir + ginstall -d newdir1 newdir2 newdir3 + test -d newdir1 + test -d newdir2 + test -d newdir3 ++ pwd + iwd=/export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-basic-1.sh.Uypn + mkdir sub + cd sub + chmod 0 . + returns_ 1 ginstall -d /export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-basic-1.sh.Uypn/xx/yy rel/sub1 rel/sub2 + chmod 755 sub + test -d xx/yy + test -d sub/rel + test -d xx/rel + is_local_dir_ . + test 1 = 1 + df --local . + mkdir -p sub1/d + cd sub1/d + chmod a-r . + chmod a-rx .. + ginstall -d /export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-basic-1.sh.Uypn/xx/zz rel/a rel/b + chmod 755 sub1 sub1/d + test -d xx/zz + test -d sub1/d/rel/a + test -d sub1/d/rel/b + touch file + ginstall -Dv file sub3/a/b/c/file + compare - out + compare_dev_null_ - out + test 2 = 2 + test x- = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ - out + diff -u - out + ginstall -t sub4/a/b/c -Dv file + compare - out + compare_dev_null_ - out + test 2 = 2 + test x- = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ - out + diff -u - out + touch sub4/file_exists + ginstall -t sub4/file_exists -Dv file + compare - out + compare_dev_null_ - out + test 2 = 2 + test x- = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ - out + diff -u - out --- - 2022-04-10 17:59:09.792027608 +0200 +++ out 2022-04-10 17:59:09.779230507 +0200 @@ -1 +1 @@ -ginstall: failed to access 'sub4/file_exists': Not a directory +ginstall: failed to access 'sub4/file_exists': Permission denied + fail=1 + mkdir sub4/dir_exists + touch sub4/dir_exists + ginstall -t sub4/dir_exists -Dv file + compare - out + compare_dev_null_ - out + test 2 = 2 + test x- = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ - out + diff -u - out + returns_ 1 ginstall . . + printf '%s\n' 'ginstall: omitting directory '\''.'\''' + compare exp err + compare_dev_null_ exp err + test 2 = 2 + test xexp = x/dev/null + test xerr = x/dev/null + return 2 + case $? in + compare_ exp err + diff -u exp err + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + test '' = yes + cd /export/home/bruno/coreutils-9.0.193-54bec/build-64 + chmod -R u+rwx /export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-basic-1.sh.Uypn + rm -rf /export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-basic-1.sh.Uypn + exit 1 FAIL tests/install/basic-1.sh (exit status: 1) FAIL: tests/mv/diag =================== ++ initial_cwd_=/export/home/bruno/coreutils-9.0.193-54bec/build-64 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /export/home/bruno/coreutils-9.0.193-54bec/build-64 gt-diag.sh.XXXX +++ case $# in +++ destdir_=/export/home/bruno/coreutils-9.0.193-54bec/build-64 +++ template_=gt-diag.sh.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ destdir_slash_=/export/home/bruno/coreutils-9.0.193-54bec/build-64/ +++ case $template_ in ++++ unset TMPDIR +++ d=/export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-diag.sh.hGsC +++ case $d in +++ : +++ test -d /export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-diag.sh.hGsC ++++ ls -dgo /export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-diag.sh.hGsC +++ perms='drwx------ 2 2 Apr 10 18:00 /export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-diag.sh.hGsC' +++ case $perms in +++ : +++ echo /export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-diag.sh.hGsC +++ return ++ test_dir_=/export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-diag.sh.hGsC ++ cd /export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-diag.sh.hGsC ++ case $srcdir in ++ srcdir=../.. ++ builddir=.. ++ export srcdir builddir ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ saved_IFS=' ' ++ IFS=: ++ new_PATH= ++ sep_= ++ for dir in $PATH ++ case "$dir" in ++ test -d /export/home/bruno/coreutils-9.0.193-54bec/build-64/src/. ++ new_PATH=/export/home/bruno/coreutils-9.0.193-54bec/build-64/src ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /usr/xpg4/bin/. ++ new_PATH=/export/home/bruno/coreutils-9.0.193-54bec/build-64/src:/usr/xpg4/bin ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /export/home/bruno/prefix64/bin/. ++ new_PATH=/export/home/bruno/coreutils-9.0.193-54bec/build-64/src:/usr/xpg4/bin:/export/home/bruno/prefix64/bin ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /usr/bin/. ++ new_PATH=/export/home/bruno/coreutils-9.0.193-54bec/build-64/src:/usr/xpg4/bin:/export/home/bruno/prefix64/bin:/usr/bin ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /usr/sbin/. ++ new_PATH=/export/home/bruno/coreutils-9.0.193-54bec/build-64/src:/usr/xpg4/bin:/export/home/bruno/prefix64/bin:/usr/bin:/usr/sbin ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /sbin/. ++ new_PATH=/export/home/bruno/coreutils-9.0.193-54bec/build-64/src:/usr/xpg4/bin:/export/home/bruno/prefix64/bin:/usr/bin:/usr/sbin:/sbin ++ sep_=: ++ IFS=' ' ++ PATH=/export/home/bruno/coreutils-9.0.193-54bec/build-64/src:/usr/xpg4/bin:/export/home/bruno/prefix64/bin:/usr/bin:/usr/sbin:/sbin ++ export PATH ++ trap remove_tmp_ 0 + path_prepend_ ./src + test 1 '!=' 0 + path_dir_=./src + case $path_dir_ in + abs_path_dir_=/export/home/bruno/coreutils-9.0.193-54bec/build-64/./src + case $abs_path_dir_ in + PATH=/export/home/bruno/coreutils-9.0.193-54bec/build-64/./src:/export/home/bruno/coreutils-9.0.193-54bec/build-64/src:/usr/xpg4/bin:/export/home/bruno/prefix64/bin:/usr/bin:/usr/sbin:/sbin + create_exe_shims_ /export/home/bruno/coreutils-9.0.193-54bec/build-64/./src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ mv + require_built_ mv + skip_=no + for i in "$@" + case " $built_programs " in + test no = yes + test yes = yes + local i + for i in $* + env mv --version mv (GNU coreutils) 9.0.193-54bec Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Parker, David MacKenzie, and Jim Meyering. + touch f1 + touch f2 + touch d + mv --target=. + mv no-file + mv f1 f2 f1 + mv --target=f2 f1 + cat + compare exp out + compare_dev_null_ exp out + test 2 = 2 + test xexp = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ exp out + diff -u exp out --- exp 2022-04-10 18:00:35.334713869 +0200 +++ out 2022-04-10 18:00:35.321291561 +0200 @@ -2,5 +2,5 @@ Try 'mv --help' for more information. mv: missing destination file operand after 'no-file' Try 'mv --help' for more information. -mv: target 'f1': Not a directory -mv: target directory 'f2': Not a directory +mv: target 'f1': Permission denied +mv: target directory 'f2': Permission denied + fail=1 + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + test '' = yes + cd /export/home/bruno/coreutils-9.0.193-54bec/build-64 + chmod -R u+rwx /export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-diag.sh.hGsC + rm -rf /export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-diag.sh.hGsC + exit 1 FAIL tests/mv/diag.sh (exit status: 1) FAIL: tests/tail-2/pipe-f ========================= ++ initial_cwd_=/export/home/bruno/coreutils-9.0.193-54bec/build-64 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /export/home/bruno/coreutils-9.0.193-54bec/build-64 gt-pipe-f.sh.XXXX +++ case $# in +++ destdir_=/export/home/bruno/coreutils-9.0.193-54bec/build-64 +++ template_=gt-pipe-f.sh.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ destdir_slash_=/export/home/bruno/coreutils-9.0.193-54bec/build-64/ +++ case $template_ in ++++ unset TMPDIR +++ d=/export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-pipe-f.sh.h0IQ +++ case $d in +++ : +++ test -d /export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-pipe-f.sh.h0IQ ++++ ls -dgo /export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-pipe-f.sh.h0IQ +++ perms='drwx------ 2 2 Apr 10 18:01 /export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-pipe-f.sh.h0IQ' +++ case $perms in +++ : +++ echo /export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-pipe-f.sh.h0IQ +++ return ++ test_dir_=/export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-pipe-f.sh.h0IQ ++ cd /export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-pipe-f.sh.h0IQ ++ case $srcdir in ++ srcdir=../.. ++ builddir=.. ++ export srcdir builddir ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ saved_IFS=' ' ++ IFS=: ++ new_PATH= ++ sep_= ++ for dir in $PATH ++ case "$dir" in ++ test -d /export/home/bruno/coreutils-9.0.193-54bec/build-64/src/. ++ new_PATH=/export/home/bruno/coreutils-9.0.193-54bec/build-64/src ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /usr/xpg4/bin/. ++ new_PATH=/export/home/bruno/coreutils-9.0.193-54bec/build-64/src:/usr/xpg4/bin ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /export/home/bruno/prefix64/bin/. ++ new_PATH=/export/home/bruno/coreutils-9.0.193-54bec/build-64/src:/usr/xpg4/bin:/export/home/bruno/prefix64/bin ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /usr/bin/. ++ new_PATH=/export/home/bruno/coreutils-9.0.193-54bec/build-64/src:/usr/xpg4/bin:/export/home/bruno/prefix64/bin:/usr/bin ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /usr/sbin/. ++ new_PATH=/export/home/bruno/coreutils-9.0.193-54bec/build-64/src:/usr/xpg4/bin:/export/home/bruno/prefix64/bin:/usr/bin:/usr/sbin ++ sep_=: ++ for dir in $PATH ++ case "$dir" in ++ test -d /sbin/. ++ new_PATH=/export/home/bruno/coreutils-9.0.193-54bec/build-64/src:/usr/xpg4/bin:/export/home/bruno/prefix64/bin:/usr/bin:/usr/sbin:/sbin ++ sep_=: ++ IFS=' ' ++ PATH=/export/home/bruno/coreutils-9.0.193-54bec/build-64/src:/usr/xpg4/bin:/export/home/bruno/prefix64/bin:/usr/bin:/usr/sbin:/sbin ++ export PATH ++ trap remove_tmp_ 0 + path_prepend_ ./src + test 1 '!=' 0 + path_dir_=./src + case $path_dir_ in + abs_path_dir_=/export/home/bruno/coreutils-9.0.193-54bec/build-64/./src + case $abs_path_dir_ in + PATH=/export/home/bruno/coreutils-9.0.193-54bec/build-64/./src:/export/home/bruno/coreutils-9.0.193-54bec/build-64/src:/usr/xpg4/bin:/export/home/bruno/prefix64/bin:/usr/bin:/usr/sbin:/sbin + create_exe_shims_ /export/home/bruno/coreutils-9.0.193-54bec/build-64/./src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ tail test + require_built_ tail test + skip_=no + for i in "$@" + case " $built_programs " in + for i in "$@" + case " $built_programs " in + test no = yes + test yes = yes + local i + for i in $* + env tail --version tail (GNU coreutils) 9.0.193-54bec Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering. + for i in $* + env test --version + trap_sigpipe_or_skip_ + grep -qF 'Broken pipe' + fastpoll='-s.1 --max-unchanged-stats=1' + for mode in '' '---disable-inotify' + echo oo + echo foo + timeout 10 tail -f -s.1 --max-unchanged-stats=1 -c3 + compare exp out + compare_dev_null_ exp out + test 2 = 2 + test xexp = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ exp out + diff -u exp out + cat + echo bar + returns_ 1 timeout 10 tail -f -s.1 --max-unchanged-stats=1 -c3 - missing tail: cannot open 'missing' for reading: No such file or directory tail: no files remaining + compare exp out + compare_dev_null_ exp out + test 2 = 2 + test xexp = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ exp out + diff -u exp out + for disposition in '' '-' + trap '' PIPE + sed 2q + returns_ 124 timeout 10 tail -n2 -f -s.1 --max-unchanged-stats=1 out + touch timed_out + test -e timed_out + fail=1 + compare exp out2 + compare_dev_null_ exp out2 + test 2 = 2 + test xexp = x/dev/null + test xout2 = x/dev/null + return 2 + case $? in + compare_ exp out2 + diff -u exp out2 + rm -f timed_out + for disposition in '' '-' + trap - PIPE + sed 2q + returns_ 124 timeout 10 tail -n2 -f -s.1 --max-unchanged-stats=1 out + touch timed_out + test -e timed_out + fail=1 + compare exp out2 + compare_dev_null_ exp out2 + test 2 = 2 + test xexp = x/dev/null + test xout2 = x/dev/null + return 2 + case $? in + compare_ exp out2 + diff -u exp out2 + rm -f timed_out + env test -w /dev/stdout + env test '!' -w /dev/stdout + for mode in '' '---disable-inotify' + echo oo + echo foo + timeout 10 tail -f ---disable-inotify -s.1 --max-unchanged-stats=1 -c3 + compare exp out + compare_dev_null_ exp out + test 2 = 2 + test xexp = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ exp out + diff -u exp out + cat + echo bar + returns_ 1 timeout 10 tail -f ---disable-inotify -s.1 --max-unchanged-stats=1 -c3 - missing tail: cannot open 'missing' for reading: No such file or directory tail: no files remaining + compare exp out + compare_dev_null_ exp out + test 2 = 2 + test xexp = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ exp out + diff -u exp out + for disposition in '' '-' + trap '' PIPE + returns_ 124 timeout 10 tail -n2 -f ---disable-inotify -s.1 --max-unchanged-stats=1 out + sed 2q + touch timed_out + test -e timed_out + fail=1 + compare exp out2 + compare_dev_null_ exp out2 + test 2 = 2 + test xexp = x/dev/null + test xout2 = x/dev/null + return 2 + case $? in + compare_ exp out2 + diff -u exp out2 + rm -f timed_out + for disposition in '' '-' + trap - PIPE + sed 2q + returns_ 124 timeout 10 tail -n2 -f ---disable-inotify -s.1 --max-unchanged-stats=1 out + touch timed_out + test -e timed_out + fail=1 + compare exp out2 + compare_dev_null_ exp out2 + test 2 = 2 + test xexp = x/dev/null + test xout2 = x/dev/null + return 2 + case $? in + compare_ exp out2 + diff -u exp out2 + rm -f timed_out + env test -w /dev/stdout + env test '!' -w /dev/stdout + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + test '' = yes + cd /export/home/bruno/coreutils-9.0.193-54bec/build-64 + chmod -R u+rwx /export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-pipe-f.sh.h0IQ + rm -rf /export/home/bruno/coreutils-9.0.193-54bec/build-64/gt-pipe-f.sh.h0IQ + exit 1 FAIL tests/tail-2/pipe-f.sh (exit status: 1) All Gnulib tests pass.