From: Gurusamy Sarathy Date: Thu, 17 Feb 2000 18:01:14 +0000 (+0000) Subject: fix test that depends on op_dump() output X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=bfe546ed7c7a66739ffa94d9408047bb87271632;p=p5sagit%2Fp5-mst-13.2.git fix test that depends on op_dump() output p4raw-id: //depot/perl@5122 --- diff --git a/t/op/split.t b/t/op/split.t index 7f0acce..042f151 100755 --- a/t/op/split.t +++ b/t/op/split.t @@ -52,7 +52,7 @@ else { $foo = `./perl -D1024 -e '(\$a,\$b) = split;' 2>&1` } if ($foo =~ /DCL-W-NOCOMD/) { $foo = `\$ mcr sys\$disk:[]perl. "-D1024" -e "(\$a,\$b) = split;"`; } -print $foo =~ /DEBUGGING/ || $foo =~ /SV = IV\(3\)/ ? "ok 11\n" : "not ok 11\n"; +print $foo =~ /DEBUGGING/ || $foo =~ /SV = (VOID|IV\(3\))/ ? "ok 11\n" : "not ok 11\n"; # Can we say how many fields to split to when assigning to a list? ($a,$b) = split(' ','1 2 3 4 5 6', 2);