On Sun, 03 May 2015 22:30:31 +0300, Niko Tyni wrote: > The test suite warns when TERM is set, as is apparently the case on > ci.debian.net. Proposed patch attached.
Not set, I suppose. > Excerpt from the test log: > > adt-run [08:46:23]: test auto-build-deps: > /usr/share/pkg-perl-autopkgtest/runner build-deps > adt-run [08:46:23]: test auto-build-deps: [----------------------- > Nothing to prove, skipping. > 1..13 > # Running under perl version 5.020002 for linux > # Current time local: Fri Apr 24 08:46:23 2015 > # Current time GMT: Fri Apr 24 08:46:23 2015 > # Using Test.pm version 1.26 > ok 1 > tput: No value for $TERM and no -T specified > ok 2 > ok 3 > ok 4 > ok 5 > ok 6 > ok 7 > ok 8 > ok 9 > ok 10 > ok 11 > ok 12 > ok 13 > adt-run [08:46:23]: test auto-build-deps: -----------------------] > adt-run [08:46:23]: test auto-build-deps: - - - - - - - - - - results - - > - - - - - - - - > auto-build-deps FAIL stderr: tput: No value for $TERM and no -T > specified > adt-run [08:46:23]: test auto-build-deps: - - - - - - - - - - stderr - - - > - - - - - - - > tput: No value for $TERM and no -T specified Here (with cowbuilder) it fails differently, as TERM is set but unknown: adt-run [17:35:21]: test command1: /usr/share/pkg-perl-autopkgtest/runner build-deps adt-run [17:35:21]: test command1: [----------------------- Nothing to prove, skipping. 1..13 # Running under perl version 5.020002 for linux # Current time local: Mon May 4 15:35:21 2015 # Current time GMT: Mon May 4 15:35:21 2015 # Using Test.pm version 1.26 ok 1 tput: unknown terminal "rxvt-unicode-256color" ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 adt-run [17:35:21]: test command1: -----------------------] adt-run [17:35:21]: test command1: - - - - - - - - - - results - - - - - - - - - - command1 FAIL stderr: tput: unknown terminal "rxvt-unicode-256color" adt-run [17:35:21]: test command1: - - - - - - - - - - stderr - - - - - - - - - - tput: unknown terminal "rxvt-unicode-256color" Looks like we need a different solution to cover both cases; looking the code, tput is only called if Term::Size is not found. And indeed, adding libterm-size-perl to B-D-I gets rid of the the tput (call and) warning. Cheers, gregor, uploading shortly -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - https://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Bob Dylan: Visions of Johanna
signature.asc
Description: Digital Signature