bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

stty & stty-row-col test failures


From: Matthew Burgess
Subject: stty & stty-row-col test failures
Date: Sun, 06 Dec 2009 19:45:39 +0000
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

Hi,

The stty & stty-row-col tests fail for me, but I can't figure out why. I wonder whether it's because I'm in a VirtualBox host and it's somehow interfering with the tests? Anyway, I've attached the logs from a verbose run of both tests. If someone wouldn't mind taking a look for me please, I'd appreciate it.

This is with Coreutils-8.1 on a Kubuntu 9.10 guest under a VirtualBox-3.1.0 VM on a Windows XP host.

If you need any more information or debug output then I'll be more than happy to provide it.

Thanks,

Matt.
make  check-TESTS
make[1]: Entering directory `/sources/coreutils-8.1/tests'
make[2]: Entering directory `/sources/coreutils-8.1/tests'
FAIL: misc/stty-row-col
=============================================
   GNU coreutils 8.1: tests/test-suite.log   
=============================================

1 of 1 test failed.  

.. contents:: :depth: 2


FAIL: misc/stty-row-col (exit: 1)
=================================

+ stty --version
stty (GNU coreutils) 8.1
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David MacKenzie.
+ COLUMNS=80
+ export COLUMNS
+ LC_ALL=C
+ export LC_ALL
+ . ./test-lib.sh
++ unset function_test
++ eval 'function_test() { return 11; }; function_test'
+++ function_test
+++ return 11
++ test 11 '!=' 11
+++ pwd
++ test_dir_=/sources/coreutils-8.1/tests
+++ this_test_
+++ echo ././misc/stty-row-col
+++ sed 's,.*/,,'
++ this_test=stty-row-col
+++ /sources/coreutils-8.1/src/mktemp -d --tmp=/sources/coreutils-8.1/tests 
cu-stty-row-col.XXXXXXXXXX
++ t_=/sources/coreutils-8.1/tests/cu-stty-row-col.0OE9dzp0ZR
++ trap remove_tmp_ 0
++ trap 'Exit $?' 1 2 13 15
++ cd /sources/coreutils-8.1/tests/cu-stty-row-col.0OE9dzp0ZR
++ diff --version
++ grep GNU
++ fail=0
+ require_controlling_input_terminal_
+ tty -s
+ test -t 0
+ test '' = no
+ 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
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 NA LAST NA
++ stty size
+ saved_size='25 80'
+ test -n '25 80'
+ :
+ 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
+ tr -d '\n'
+ echo 'test 1... '
test 1... + stty rows 40 columns 80
stty: standard input: Invalid argument
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /sources/coreutils-8.1/tests
+ chmod -R u+rwx /sources/coreutils-8.1/tests/cu-stty-row-col.0OE9dzp0ZR
+ rm -rf /sources/coreutils-8.1/tests/cu-stty-row-col.0OE9dzp0ZR
+ exit 1
======================================
1 of 1 test failed
See tests/test-suite.log
Please report to address@hidden
======================================
make[2]: *** [test-suite.log] Error 1
make[2]: Leaving directory `/sources/coreutils-8.1/tests'
make[1]: *** [check-TESTS] Error 2
make[1]: Leaving directory `/sources/coreutils-8.1/tests'
make: *** [check-am] Error 2
make  check-TESTS
make[1]: Entering directory `/sources/coreutils-8.1/tests'
make[2]: Entering directory `/sources/coreutils-8.1/tests'
FAIL: misc/stty
=============================================
   GNU coreutils 8.1: tests/test-suite.log   
=============================================

1 of 1 test failed.  

.. contents:: :depth: 2


FAIL: misc/stty (exit: 1)
=========================

+ stty --version
stty (GNU coreutils) 8.1
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David MacKenzie.
+ . ./test-lib.sh
++ unset function_test
++ eval 'function_test() { return 11; }; function_test'
+++ function_test
+++ return 11
++ test 11 '!=' 11
+++ pwd
++ test_dir_=/sources/coreutils-8.1/tests
+++ this_test_
+++ sed 's,.*/,,'
+++ echo ././misc/stty
++ this_test=stty
+++ /sources/coreutils-8.1/src/mktemp -d --tmp=/sources/coreutils-8.1/tests 
cu-stty.XXXXXXXXXX
++ t_=/sources/coreutils-8.1/tests/cu-stty.kIEjRdNatt
++ trap remove_tmp_ 0
++ trap 'Exit $?' 1 2 13 15
++ cd /sources/coreutils-8.1/tests/cu-stty.kIEjRdNatt
++ diff --version
++ grep GNU
++ fail=0
+ require_controlling_input_terminal_
+ tty -s
+ test -t 0
+ test '' = no
+ trap '' TTOU
+ REV_parenb=1
+ REV_parodd=1
+ REV_hupcl=1
+ REV_hup=1
+ REV_cstopb=1
+ REV_cread=1
+ REV_clocal=1
+ REV_crtscts=1
+ REV_ignbrk=1
+ REV_brkint=1
+ REV_ignpar=1
+ REV_parmrk=1
+ REV_inpck=1
+ REV_istrip=1
+ REV_inlcr=1
+ REV_igncr=1
+ REV_icrnl=1
+ REV_ixon=1
+ REV_ixoff=1
+ REV_tandem=1
+ REV_iuclc=1
+ REV_ixany=1
+ REV_imaxbel=1
+ REV_opost=1
+ REV_olcuc=1
+ REV_ocrnl=1
+ REV_onlcr=1
+ REV_onocr=1
+ REV_onlret=1
+ REV_ofill=1
+ REV_ofdel=1
+ REV_isig=1
+ REV_icanon=1
+ REV_iexten=1
+ REV_echo=1
+ REV_echoe=1
+ REV_crterase=1
+ REV_echok=1
+ REV_echonl=1
+ REV_noflsh=1
+ REV_xcase=1
+ REV_tostop=1
+ REV_echoprt=1
+ REV_prterase=1
+ REV_echoctl=1
+ REV_ctlecho=1
+ REV_echoke=1
+ REV_crtkill=1
+ REV_evenp=1
+ REV_parity=1
+ REV_oddp=1
+ REV_nl=1
+ REV_cooked=1
+ REV_raw=1
+ REV_pass8=1
+ REV_litout=1
+ REV_cbreak=1
+ REV_decctlq=1
+ REV_tabs=1
+ REV_lcase=1
+ REV_LCASE=1
+ saved_state=.saved-state
+ stty --save
++ cat .saved-state
+ stty 
1500:5:4bf:a3b:3:1c:7f:15:4:0:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0
+ stty erase -
+ stty -F
+ stty -raw -F no/such/file
+ stty -raw -a
+ sed_del='/^speed/d;/^rows/d;/^columns/d;/ = /d'
++ stty -a
++ tr -s ';' '\n'
++ sed 's/^ //;/^speed/d;/^rows/d;/^columns/d;/ = /d;s/-//g'
+ options='parenb parodd cs8 hupcl cstopb cread clocal crtscts
ignbrk brkint ignpar parmrk inpck istrip inlcr igncr icrnl ixon ixoff
iuclc ixany imaxbel iutf8
opost olcuc ocrnl onlcr onocr onlret ofill ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok echonl noflsh xcase tostop echoprt
echoctl echoke'
+ for opt in '$options'
+ test parenb = parenb
+ continue
+ for opt in '$options'
+ test parodd = parenb
+ stty parodd
stty: standard input: unable to perform all requested operations
+ fail=1
+ test parodd = cread
++ eval echo '$REV_parodd'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -parodd
+ for opt in '$options'
+ test cs8 = parenb
+ stty cs8
+ test cs8 = cread
++ eval echo '$REV_cs8'
+++ echo
+ rev=
+ test -n ''
+ for opt in '$options'
+ test hupcl = parenb
+ stty hupcl
+ test hupcl = cread
++ eval echo '$REV_hupcl'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -hupcl
+ for opt in '$options'
+ test cstopb = parenb
+ stty cstopb
stty: standard input: unable to perform all requested operations
+ fail=1
+ test cstopb = cread
++ eval echo '$REV_cstopb'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -cstopb
+ for opt in '$options'
+ test cread = parenb
+ stty cread
+ test cread = cread
+ continue
+ for opt in '$options'
+ test clocal = parenb
+ stty clocal
+ test clocal = cread
++ eval echo '$REV_clocal'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -clocal
+ for opt in '$options'
+ test crtscts = parenb
+ stty crtscts
stty: standard input: unable to perform all requested operations
+ fail=1
+ test crtscts = cread
++ eval echo '$REV_crtscts'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -crtscts
+ for opt in '$options'
+ test ignbrk = parenb
+ stty ignbrk
+ test ignbrk = cread
++ eval echo '$REV_ignbrk'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -ignbrk
+ for opt in '$options'
+ test brkint = parenb
+ stty brkint
+ test brkint = cread
++ eval echo '$REV_brkint'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -brkint
+ for opt in '$options'
+ test ignpar = parenb
+ stty ignpar
+ test ignpar = cread
++ eval echo '$REV_ignpar'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -ignpar
+ for opt in '$options'
+ test parmrk = parenb
+ stty parmrk
+ test parmrk = cread
++ eval echo '$REV_parmrk'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -parmrk
+ for opt in '$options'
+ test inpck = parenb
+ stty inpck
+ test inpck = cread
++ eval echo '$REV_inpck'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -inpck
+ for opt in '$options'
+ test istrip = parenb
+ stty istrip
+ test istrip = cread
++ eval echo '$REV_istrip'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -istrip
+ for opt in '$options'
+ test inlcr = parenb
+ stty inlcr
+ test inlcr = cread
++ eval echo '$REV_inlcr'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -inlcr
+ for opt in '$options'
+ test igncr = parenb
+ stty igncr
+ test igncr = cread
++ eval echo '$REV_igncr'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -igncr
+ for opt in '$options'
+ test icrnl = parenb
+ stty icrnl
+ test icrnl = cread
++ eval echo '$REV_icrnl'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -icrnl
+ for opt in '$options'
+ test ixon = parenb
+ stty ixon
+ test ixon = cread
++ eval echo '$REV_ixon'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -ixon
+ for opt in '$options'
+ test ixoff = parenb
+ stty ixoff
+ test ixoff = cread
++ eval echo '$REV_ixoff'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -ixoff
+ for opt in '$options'
+ test iuclc = parenb
+ stty iuclc
+ test iuclc = cread
++ eval echo '$REV_iuclc'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -iuclc
+ for opt in '$options'
+ test ixany = parenb
+ stty ixany
+ test ixany = cread
++ eval echo '$REV_ixany'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -ixany
+ for opt in '$options'
+ test imaxbel = parenb
+ stty imaxbel
+ test imaxbel = cread
++ eval echo '$REV_imaxbel'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -imaxbel
+ for opt in '$options'
+ test iutf8 = parenb
+ stty iutf8
+ test iutf8 = cread
++ eval echo '$REV_iutf8'
+++ echo
+ rev=
+ test -n ''
+ for opt in '$options'
+ test opost = parenb
+ stty opost
+ test opost = cread
++ eval echo '$REV_opost'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -opost
+ for opt in '$options'
+ test olcuc = parenb
+ stty olcuc
+ test olcuc = cread
++ eval echo '$REV_olcuc'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -olcuc
+ for opt in '$options'
+ test ocrnl = parenb
+ stty ocrnl
+ test ocrnl = cread
++ eval echo '$REV_ocrnl'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -ocrnl
+ for opt in '$options'
+ test onlcr = parenb
+ stty onlcr
+ test onlcr = cread
++ eval echo '$REV_onlcr'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -onlcr
+ for opt in '$options'
+ test onocr = parenb
+ stty onocr
+ test onocr = cread
++ eval echo '$REV_onocr'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -onocr
+ for opt in '$options'
+ test onlret = parenb
+ stty onlret
+ test onlret = cread
++ eval echo '$REV_onlret'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -onlret
+ for opt in '$options'
+ test ofill = parenb
+ stty ofill
+ test ofill = cread
++ eval echo '$REV_ofill'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -ofill
+ for opt in '$options'
+ test ofdel = parenb
+ stty ofdel
+ test ofdel = cread
++ eval echo '$REV_ofdel'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -ofdel
+ for opt in '$options'
+ test nl0 = parenb
+ stty nl0
+ test nl0 = cread
++ eval echo '$REV_nl0'
+++ echo
+ rev=
+ test -n ''
+ for opt in '$options'
+ test cr0 = parenb
+ stty cr0
+ test cr0 = cread
++ eval echo '$REV_cr0'
+++ echo
+ rev=
+ test -n ''
+ for opt in '$options'
+ test tab0 = parenb
+ stty tab0
+ test tab0 = cread
++ eval echo '$REV_tab0'
+++ echo
+ rev=
+ test -n ''
+ for opt in '$options'
+ test bs0 = parenb
+ stty bs0
+ test bs0 = cread
++ eval echo '$REV_bs0'
+++ echo
+ rev=
+ test -n ''
+ for opt in '$options'
+ test vt0 = parenb
+ stty vt0
+ test vt0 = cread
++ eval echo '$REV_vt0'
+++ echo
+ rev=
+ test -n ''
+ for opt in '$options'
+ test ff0 = parenb
+ stty ff0
+ test ff0 = cread
++ eval echo '$REV_ff0'
+++ echo
+ rev=
+ test -n ''
+ for opt in '$options'
+ test isig = parenb
+ stty isig
+ test isig = cread
++ eval echo '$REV_isig'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -isig
+ for opt in '$options'
+ test icanon = parenb
+ stty icanon
+ test icanon = cread
++ eval echo '$REV_icanon'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -icanon
+ for opt in '$options'
+ test iexten = parenb
+ stty iexten
+ test iexten = cread
++ eval echo '$REV_iexten'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -iexten
+ for opt in '$options'
+ test echo = parenb
+ stty echo
+ test echo = cread
++ eval echo '$REV_echo'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -echo
+ for opt in '$options'
+ test echoe = parenb
+ stty echoe
+ test echoe = cread
++ eval echo '$REV_echoe'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -echoe
+ for opt in '$options'
+ test echok = parenb
+ stty echok
+ test echok = cread
++ eval echo '$REV_echok'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -echok
+ for opt in '$options'
+ test echonl = parenb
+ stty echonl
+ test echonl = cread
++ eval echo '$REV_echonl'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -echonl
+ for opt in '$options'
+ test noflsh = parenb
+ stty noflsh
+ test noflsh = cread
++ eval echo '$REV_noflsh'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -noflsh
+ for opt in '$options'
+ test xcase = parenb
+ stty xcase
+ test xcase = cread
++ eval echo '$REV_xcase'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -xcase
+ for opt in '$options'
+ test tostop = parenb
+ stty tostop
+ test tostop = cread
++ eval echo '$REV_tostop'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -tostop
+ for opt in '$options'
+ test echoprt = parenb
+ stty echoprt
+ test echoprt = cread
++ eval echo '$REV_echoprt'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -echoprt
+ for opt in '$options'
+ test echoctl = parenb
+ stty echoctl
+ test echoctl = cread
++ eval echo '$REV_echoctl'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -echoctl
+ for opt in '$options'
+ test echoke = parenb
+ stty echoke
+ test echoke = cread
++ eval echo '$REV_echoke'
+++ echo 1
+ rev=1
+ test -n 1
+ stty -echoke
+ test -n ''
++ cat .saved-state
+ stty 
1500:5:4bf:a3b:3:1c:7f:15:4:0:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /sources/coreutils-8.1/tests
+ chmod -R u+rwx /sources/coreutils-8.1/tests/cu-stty.kIEjRdNatt
+ rm -rf /sources/coreutils-8.1/tests/cu-stty.kIEjRdNatt
+ exit 1
======================================
1 of 1 test failed
See tests/test-suite.log
Please report to address@hidden
======================================
make[2]: *** [test-suite.log] Error 1
make[2]: Leaving directory `/sources/coreutils-8.1/tests'
make[1]: *** [check-TESTS] Error 2
make[1]: Leaving directory `/sources/coreutils-8.1/tests'
make: *** [check-am] Error 2

reply via email to

[Prev in Thread] Current Thread [Next in Thread]