From: Jarkko Hietaniemi Date: Mon, 23 Jun 2003 04:55:39 +0000 (+0000) Subject: Test tweaks for VMS from Craig Berry. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=82c44e3364eb3c4078c422ac12fbcf5ac46c2ce7;p=p5sagit%2Fp5-mst-13.2.git Test tweaks for VMS from Craig Berry. p4raw-id: //depot/perl@19845 --- diff --git a/lib/strict.t b/lib/strict.t index b153771..b5911b3 100644 --- a/lib/strict.t +++ b/lib/strict.t @@ -36,7 +36,7 @@ foreach (sort glob($^O eq 'MacOS' ? ":lib:strict:*" : "lib/strict/*")) { undef $/; -print "1..", @prgs + 4, "\n"; +print "1.." . (@prgs + 4) . "\n"; for (@prgs){ @@ -94,7 +94,7 @@ for (@prgs){ print STDERR "GOT:\n$results\n"; print "not "; } - print "ok ", ++$i, "\n"; + print "ok " . ++$i . "\n"; foreach (@temps) { unlink $_ if $_ } } diff --git a/lib/warnings.t b/lib/warnings.t index 0e65da9..0647b55 100644 --- a/lib/warnings.t +++ b/lib/warnings.t @@ -59,7 +59,7 @@ foreach my $file (@w_files) { undef $/; -print "1..", scalar(@prgs)-$files, "\n"; +print "1.." . (scalar(@prgs)-$files) . "\n"; for (@prgs){ @@ -182,7 +182,7 @@ for (@prgs){ print STDERR "GOT:\n$results\n"; print "not "; } - print "ok ", ++$i, "\n"; + print "ok " . ++$i . "\n"; foreach (@temps) { unlink $_ if $_ } foreach (@temp_path)