summaryrefslogtreecommitdiff
path: root/ext/Safe
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2002-10-03 20:34:13 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2002-10-03 20:34:13 +0000
commitcb77fdf0e62f488063efd544deea3e13e215fac6 (patch)
tree57357b53ba1e38d46872e8b7b061593152d03d6b /ext/Safe
parent276b2a0c6a53ec634026b73150a6cb3f81349921 (diff)
downloadperl-cb77fdf0e62f488063efd544deea3e13e215fac6.tar.gz
Change the warning message "%s trapped by operation mask"
to include '' around the op name. Document it in perldiag. p4raw-id: //depot/perl@17973
Diffstat (limited to 'ext/Safe')
-rwxr-xr-xext/Safe/safe2.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/Safe/safe2.t b/ext/Safe/safe2.t
index d967b19634..94398d4565 100755
--- a/ext/Safe/safe2.t
+++ b/ext/Safe/safe2.t
@@ -38,7 +38,7 @@ $cpt = new Safe or die;
$cpt = new Safe "Root";
$cpt->reval(q{ system("echo not ok 1"); });
-if ($@ =~ /^system trapped by operation mask/) {
+if ($@ =~ /^'system' trapped by operation mask/) {
print "ok 1\n";
} else {
print "#$@" if $@;