Skip Menu |

This queue is for tickets about the Graphics-Fig CPAN distribution.

Report information
The Basics
Id: 122081
Status: resolved
Priority: 0/
Queue: Graphics-Fig

People
Owner: scott_guthridge [...] rompromity.net
Requestors: james2vegas [...] aim.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: rgb.txt doesn't always exist, or always exist at /usr/share/X11/rgb.txt
rgb.txt may not be installed if X is not installed, or it may be in a different folder, such as /etc/X11 or /usr/X11R6/share/X11/.   This breaks test2 in t/advanced.t

t/advanced.t .. 
1..2
ok 1 - use Graphics::Fig;
not ok 2 - test2
#   Failed test 'test2'
#   at t/advanced.t line 120.
# Looks like you failed 1 test of 2.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests 
 
Test Summary Report
-------------------
t/advanced.t (Wstat: 256 Tests: 2 Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
Files=1, Tests=2,  1 wallclock secs ( 0.08 usr  0.01 sys +  0.34 cusr  0.05 csys =  0.48 CPU)
Result: FAIL

 
Fixed in version 1.0.4 by using Graphics::ColorNames instead of parsing /data/root/usr/share/X11/rgb.txt