Skip Menu |

This queue is for tickets about the Games-Golf CPAN distribution.

Report information
The Basics
Id: 780
Status: resolved
Worked: 1 min
Priority: 0/
Queue: Games-Golf

People
Owner: Nobody in particular
Requestors: chris [...] clotho.com
Cc:
AdminCc:

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



Subject: Test failure on Mac OSX
The test t/05os.t fails on Mac OS X, because OS.pm doesn't realize that darwin is unix. This trivial patch fixes this omission, and thus all tests pass. Chris Dolan diff -ur Games-Golf-0.15-orig/blib/lib/Games/Golf/OS.pm Games-Golf-0.15/blib/lib/Games/Golf/OS.pm --- Games-Golf-0.15-orig/blib/lib/Games/Golf/OS.pm Mon Jun 24 00:00:19 2002 +++ Games-Golf-0.15/blib/lib/Games/Golf/OS.pm Mon Jun 24 00:00:37 2002 @@ -56,7 +56,7 @@ $^O =~ / aix | bsdos | dec_osf | dgux | dynixptx | freebsd | hpux | irix | linux | machten | next | openbsd | rhapsody | sco_sv | solaris | sunos | svr4 | unicos - | unicosmk /x) { + | unicosmk | darwin /x) { $os = "Unix::$^O"; }