summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorMichael G. Schwern <schwern@pobox.com>2001-08-28 05:57:39 -0400
committerArtur Bergman <sky@nanisky.com>2001-08-28 13:01:20 +0000
commit17639bde299d25109390c82720c805c9f43b1309 (patch)
treec4246006c7e555881455b60f4600d35b27dcc1a4 /t
parent44f0be639a72c23a82ef49a1790b9b38a494dd31 (diff)
downloadperl-17639bde299d25109390c82720c805c9f43b1309.tar.gz
Adding the failure diagnostic
Message-ID: <20010828095738.E17775@blackrider> p4raw-id: //depot/perl@11772
Diffstat (limited to 't')
-rwxr-xr-xt/op/pack.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/op/pack.t b/t/op/pack.t
index 82568870aa..1c6222efe7 100755
--- a/t/op/pack.t
+++ b/t/op/pack.t
@@ -19,6 +19,8 @@ sub ok {
$out .= "ok $test\n";
print $out;
+ printf "# Failed test at line %d\n", (caller)[2] unless $ok;
+
$test++;
return $ok;
}