The stty/stty-row-col test fails on Solaris 11.4.

test-suite.log on Solaris 11.4:


FAIL: tests/stty/stty-row-col
=============================

++ initial_cwd_=/export/home/bruno/coreutils-9.4.170-7b206/build-64
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /export/home/bruno/coreutils-9.4.170-7b206/build-64 
gt-stty-row-col.sh.XXXX
+++ case $# in
+++ destdir_=/export/home/bruno/coreutils-9.4.170-7b206/build-64
+++ template_=gt-stty-row-col.sh.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ destdir_slash_=/export/home/bruno/coreutils-9.4.170-7b206/build-64/
+++ case $template_ in
++++ unset TMPDIR
+++ 
d=/export/home/bruno/coreutils-9.4.170-7b206/build-64/gt-stty-row-col.sh.BZsg
+++ case $d in
+++ :
+++ test -d 
/export/home/bruno/coreutils-9.4.170-7b206/build-64/gt-stty-row-col.sh.BZsg
++++ ls -dgo 
/export/home/bruno/coreutils-9.4.170-7b206/build-64/gt-stty-row-col.sh.BZsg
+++ perms='drwx------ 2 2 Mar 24 14:30 
/export/home/bruno/coreutils-9.4.170-7b206/build-64/gt-stty-row-col.sh.BZsg'
+++ case $perms in
+++ :
+++ echo 
/export/home/bruno/coreutils-9.4.170-7b206/build-64/gt-stty-row-col.sh.BZsg
+++ return
++ 
test_dir_=/export/home/bruno/coreutils-9.4.170-7b206/build-64/gt-stty-row-col.sh.BZsg
++ cd 
/export/home/bruno/coreutils-9.4.170-7b206/build-64/gt-stty-row-col.sh.BZsg
++ 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.4.170-7b206/build-64/src/.
++ new_PATH=/export/home/bruno/coreutils-9.4.170-7b206/build-64/src
++ sep_=:
++ for dir in $PATH
++ case "$dir" in
++ test -d /usr/xpg4/bin/.
++ 
new_PATH=/export/home/bruno/coreutils-9.4.170-7b206/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.4.170-7b206/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.4.170-7b206/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.4.170-7b206/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.4.170-7b206/build-64/src:/usr/xpg4/bin:/export/home/bruno/prefix64/bin:/usr/bin:/usr/sbin:/sbin
++ sep_=:
++ IFS='        
'
++ 
PATH=/export/home/bruno/coreutils-9.4.170-7b206/build-64/src:/usr/xpg4/bin:/export/home/bruno/prefix64/bin:/usr/bin:/usr/sbin:/sbin
++ export PATH
++ trap remove_tmp_ EXIT
+ path_prepend_ ./src
+ test 1 '!=' 0
+ path_dir_=./src
+ case $path_dir_ in
+ abs_path_dir_=/export/home/bruno/coreutils-9.4.170-7b206/build-64/./src
+ case $abs_path_dir_ in
+ 
PATH=/export/home/bruno/coreutils-9.4.170-7b206/build-64/./src:/export/home/bruno/coreutils-9.4.170-7b206/build-64/src:/usr/xpg4/bin:/export/home/bruno/prefix64/bin:/usr/bin:/usr/sbin:/sbin
+ create_exe_shims_ /export/home/bruno/coreutils-9.4.170-7b206/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.4.170-7b206
Copyright (C) 2024 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
++ tr _ ' '
++ sed 's/^x//'
+ 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.4.170-7b206/build-64
+ chmod -R u+rwx 
/export/home/bruno/coreutils-9.4.170-7b206/build-64/gt-stty-row-col.sh.BZsg
+ rm -rf 
/export/home/bruno/coreutils-9.4.170-7b206/build-64/gt-stty-row-col.sh.BZsg
+ exit 1
FAIL tests/stty/stty-row-col.sh (exit status: 1)




Reply via email to