seen_eval regex field wasn't getting cloned
[p5sagit/p5-mst-13.2.git] / t / op / qrstack.t
index 6483eba..47d190d 100644 (file)
@@ -1,21 +1,11 @@
-#!./perl
+#!./perl -w
 
-my $test = 1;
-sub ok {
-    my($ok, $name) = @_;
-
-    # You have to do it this way or VMS will get confused.
-    printf "%s %d%s\n", $ok ? "ok" : "not ok",
-                        $test,
-                        defined $name ? " - $name" : '';
-
-    printf "# Failed test at line %d\n", (caller)[2] unless $ok;
-
-    $test++;
-    return $ok;
+BEGIN {
+    chdir 't' if -d 't';
+    @INC = '../lib';
+    require './test.pl';
 }
 
-print "1..1\n";
+plan tests => 1;
 
 ok(defined [(1)x127,qr//,1]->[127], "qr// should extend the stack properly");
-