summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorAndreas König <a.koenig@mind.de>2000-09-12 08:42:01 +0200
committerJarkko Hietaniemi <jhi@iki.fi>2000-09-12 14:05:04 +0000
commit6c5b79b01f8e6c1031467a3a40641cc6b53b5cdb (patch)
tree554622c5bc13359493d5b856e36fcfa8ca2af8dc /t
parentdfe814dcbddaafae2f4df1f35c60ea7453270233 (diff)
downloadperl-6c5b79b01f8e6c1031467a3a40641cc6b53b5cdb.tar.gz
Test for the #7049.
Subject: Re: [PATCH] Re: [ID 20000910.001] Not OK: perl v5.7.0 +DEVEL7044 on i686-linux 2.2.16-raid (UNINSTALLED) Message-ID: <m3k8cigr1i.fsf@ak-71.mind.de> p4raw-id: //depot/perl@7059
Diffstat (limited to 't')
-rwxr-xr-xt/op/my.t9
1 files changed, 8 insertions, 1 deletions
diff --git a/t/op/my.t b/t/op/my.t
index 1777e88266..601e1d6ae8 100755
--- a/t/op/my.t
+++ b/t/op/my.t
@@ -2,7 +2,7 @@
# $RCSfile: my.t,v $
-print "1..30\n";
+print "1..31\n";
sub foo {
my($a, $b) = @_;
@@ -92,3 +92,10 @@ print +(@x ? "not " : ""), "ok 29\n";
{ @x = my %y }
print +(@x ? "not " : ""), "ok 30\n";
+# Found in HTML::FormatPS
+my %fonts = qw(nok 31);
+for my $full (keys %fonts) {
+ $full =~ s/^n//;
+ # Supposed to be copy-on-write via force_normal after a THINKFIRST check.
+ print "$full $fonts{nok}\n";
+}