From: Gurusamy Sarathy Date: Thu, 27 Apr 2000 17:44:49 +0000 (+0000) Subject: tolerate spaces in group names in test on solaris (from David Boyce X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=27b4d0f88e7fc713240ac8177227c667833a7ab0;p=p5sagit%2Fp5-mst-13.2.git tolerate spaces in group names in test on solaris (from David Boyce ) p4raw-id: //depot/perl@5968 --- diff --git a/t/op/groups.t b/t/op/groups.t index 4b655c8..082d2d1 100755 --- a/t/op/groups.t +++ b/t/op/groups.t @@ -115,7 +115,8 @@ for (split(' ', $()) { } } -if ($^O eq "uwin") { # Or anybody else who can have spaces in group names. +if ($^O =~ /^(?:uwin|solaris)$/) { + # Or anybody else who can have spaces in group names. $gr1 = join(' ', grep(!$did{$_}++, sort split(' ', join(' ', @gr)))); } else { $gr1 = join(' ', sort @gr);