Update Changes.
[p5sagit/p5-mst-13.2.git] / t / run / kill_perl.t
index 2b4a5a6..fa3bbec 100644 (file)
@@ -89,7 +89,13 @@ foreach my $prog (@prgs) {
     # various yaccs may or may not capitalize 'syntax'.
     $results =~ s/^(syntax|parse) error/syntax error/mig;
 
-    $results =~ s/\n\n/\n/ if $^O eq 'VMS'; # pipes double these sometimes
+    if ($^O eq 'VMS') {
+        # some tests will trigger VMS messages that won't be expected
+        $results =~ s/\n?%[A-Z]+-[SIWEF]-[A-Z]+,.*//;
+
+        # pipes double these sometimes
+        $results =~ s/\n\n/\n/g;
+    }
 
     $expected =~ s/\n+$//;
     my $ok = $results eq $expected;
@@ -329,7 +335,7 @@ print "ok\n" if ("\0" lt "\xFF");
 EXPECT
 ok
 ########
-open(H,'op/misc.t'); # must be in the 't' directory
+open(H,'run/kill_perl.t'); # must be in the 't' directory
 stat(H);
 print "ok\n" if (-e _ and -f _ and -r _);
 EXPECT
@@ -779,8 +785,7 @@ EXPECT
 1234 1
 5678 1
 1234 5678 2
-########
-# keep this last - doesn't seem to work otherwise?
+######## found by Markov chain stress testing
 eval "a.b.c.d.e.f;sub"
 EXPECT
 
@@ -789,3 +794,8 @@ EXPECT
 EXPECT
 Can't modify constant item in list assignment at - line 1, near ");"
 Execution of - aborted due to compilation errors.
+######## tying a bareword causes a segfault in 5.6.1
+tie FOO, "Foo";
+EXPECT
+Can't modify constant item in tie at - line 1, near ""Foo";"
+Execution of - aborted due to compilation errors.