This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Un-TODO a test on Snow Leopard
authorFather Chrysostomos <sprout@cpan.org>
Tue, 24 May 2011 03:18:24 +0000 (20:18 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 24 May 2011 03:18:42 +0000 (20:18 -0700)
Snow Leopard is Darwin 10, which compares less than 6 lexicographically.

ext/POSIX/t/posix.t

index 32382e8..c60a5ac 100644 (file)
@@ -116,7 +116,7 @@ SKIP: {
        sleep 1;
 
        $todo = 1 if ($^O eq 'freebsd')
        sleep 1;
 
        $todo = 1 if ($^O eq 'freebsd')
-                 || ($^O eq 'darwin' && $Config{osvers} lt '6.6');
+                 || ($^O eq 'darwin' && $Config{osvers} < '6.6');
        printf "%s 11 - masked SIGINT received %s\n",
            $sigint_called ? "ok" : "not ok",
            $todo ? $why_todo : '';
        printf "%s 11 - masked SIGINT received %s\n",
            $sigint_called ? "ok" : "not ok",
            $todo ? $why_todo : '';