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";
}