This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix test that depends on op_dump() output
authorGurusamy Sarathy <gsar@cpan.org>
Thu, 17 Feb 2000 18:01:14 +0000 (18:01 +0000)
committerGurusamy Sarathy <gsar@cpan.org>
Thu, 17 Feb 2000 18:01:14 +0000 (18:01 +0000)
p4raw-id: //depot/perl@5122

t/op/split.t

index 7f0acce..042f151 100755 (executable)
@@ -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);