Subject: | detect_color_depth test fails |
I was actually trying to install Text::ANSITable which looks fantastic but I ran into this problem:
Color-ANSI-Util-0.04$ prove -vb t/01-basics.t
t/01-basics.t ..
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
1..10
ok 1 - 16 colors
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
1..8
ok 2 - 256 colors
ok 1
ok 2
ok 3
ok 4
1..4
ok 3 - 24bit colors
not ok 1
# Failed test at t/01-basics.t line 70.
# got: '16'
# expected: '16777216'
ok 2
ok 3
ok 4
ok 5
ok 6
1..6
# Looks like you failed 1 test of 6.
not ok 4 - detect
1..4
# Failed test 'detect'
# at t/01-basics.t line 87.
# Looks like you failed 1 test of 4.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests
Test Summary Report
-------------------
t/01-basics.t (Wstat: 256 Tests: 4 Failed: 1)
Failed test: 4
Non-zero exit status: 1
Files=1, Tests=4, 1 wallclock secs ( 0.06 usr 0.01 sys + 0.06 cusr 0.02 csys = 0.15 CPU)
Result: FAIL
It was running in a terminal on an Unbuntu box. It was a Gnome Terminal 3.01. My env was:
REMOTEHOST=xxx.yyy.zzz
MANPATH=/home/perlbrew/perls/perl-5.16.0/man:
PERLBREW_VERSION=0.42
PERLBREW_PERL=perl-5.16.0
SHELL=/bin/bash
TERM=xterm
NLS_LANG=AMERICAN_AMERICA.AL32UTF8
PERL5LIB=/home/martin/bet/tools/modules/BET/lib:/home/martin/bet/api/perl/modules
HUSHLOGIN=FALSE
http_proxy=http://172.20.0.15:8080
USER=martin
LS_COLORS=rs=0:di=01;34:ln=01;36:hl=44;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
LD_LIBRARY_PATH=:/home/oracle/instantclient_11_2/
PERLBREW_BASHRC_VERSION=0.42
PERLBREW_ROOT=/home/perlbrew
MANPATH_WITHOUT_PERLBREW=
MAIL=/var/mail/martin
PATH=/home/perlbrew/bin:/home/perlbrew/perls/perl-5.16.0/bin:/home/oracle/instantclient_11_2/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
ACK_COLOR_FILENAME=underscore
PWD=/tmp/Color-ANSI-Util-0.04
LANG=en_GB.UTF-8
ACK_COLOR_MATCH=blue
PERLBREW_HOME=/home/martin/.perlbrew
PATH_WITHOUT_PERLBREW=/home/oracle/instantclient_11_2/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SPEECHD_PORT=7562
SHLVL=1
HOME=/home/martin
PERLBREW_MANPATH=/home/perlbrew/perls/perl-5.16.0/man
HTTP_PROXY=http://172.20.0.15:8080
BET_CONFIG=/home/martin/bet/systems/conf/betdevel.conf
PERLBREW_PATH=/home/perlbrew/bin:/home/perlbrew/perls/perl-5.16.0/bin
LOGNAME=martin
LESSOPEN=| /usr/bin/lesspipe %s
DISPLAY=bragi:0.0
LESSCLOSE=/usr/bin/lesspipe %s %s
_=/usr/bin/env
OLDPWD=/tmp
This is perl 5.16.0.
Martin
--
Martin J. Evans
Wetherby, UK