From f227e3cc8762fba1290d7d4317f350267e9f4bb9 Mon Sep 17 00:00:00 2001 From: Robert Buels Date: Wed, 6 Apr 2011 10:04:49 -0700 Subject: [PATCH] warning squash --- t/lib/SGN/Test.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/t/lib/SGN/Test.pm b/t/lib/SGN/Test.pm index 786616c9b..d71a6ca01 100644 --- a/t/lib/SGN/Test.pm +++ b/t/lib/SGN/Test.pm @@ -71,7 +71,10 @@ sub _validate_single_url { my $dump_tempdir; ok( $rc == 200, "$test_name returned OK" ) or do { - diag "fetch actually returned code '$rc': $ENV{SGN_TEST_SERVER}$url"; + + diag "fetch actually returned code '$rc': " + .($ENV{SGN_TEST_SERVER}||'').$url; + if( $ENV{DUMP_ERROR_CONTENT} ) { if ( eval { require Digest::Crc32 } ) { $dump_tempdir ||= make_dump_tempdir(); -- 2.11.4.GIT