From: Rafael Garcia-Suarez <rgarciasuarez@gmail.com>
Date: Fri, 21 Sep 2001 22:36:54 +0000 (+0200)
Subject: new regression tests for bug ID 20010920.007
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c18f6c02202de13a541fb9f9853fc993fd4be9c2;p=p5sagit%2Fp5-mst-13.2.git

new regression tests for bug ID 20010920.007
Message-Id: <20010921223654.A12742@rafael>

p4raw-id: //depot/perl@12118
---

diff --git a/t/op/do.t b/t/op/do.t
index 6c26bc4..b70fae1 100755
--- a/t/op/do.t
+++ b/t/op/do.t
@@ -16,7 +16,7 @@ sub foo2
     $x;
 }
 
-print "1..18\n";
+print "1..20\n";
 
 $_[0] = "not ok 1\n";
 $result = do foo1("ok 1\n");
@@ -66,6 +66,14 @@ if (open(DO, ">$$.18")) {
 
 do "$$.18";
 
+eval qq{ do qq(a file that does not exist); };
+print "not " if $@;
+print "ok 19\n";
+
+eval qq{ do uc qq(a file that does not exist); };
+print "not " if $@;
+print "ok 20\n";
+
 END {
     1 while unlink("$$.16", "$$.17", "$$.18");
 }