From 9a6df07d3ded3575382cbcf8459efbe2ef197701 Mon Sep 17 00:00:00 2001 From: Gunter Knauf Date: Mon, 5 Jul 2004 23:35:49 +0000 Subject: [PATCH] be a bit more verbose when things go wrong. --- tests/testcurl.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testcurl.pl b/tests/testcurl.pl index 24ea04fa9..4881b408e 100755 --- a/tests/testcurl.pl +++ b/tests/testcurl.pl @@ -357,14 +357,14 @@ if ($gnulikebuild) { } logit "display lib/config$confsuffix.h"; -open(F, "lib/config$confsuffix.h") or die; +open(F, "lib/config$confsuffix.h") or die "lib/config$confsuffix.h: $!"; while () { print if /^ *#/; } close(F); logit "display src/config$confsuffix.h"; -open(F, "src/config$confsuffix.h") or die; +open(F, "src/config$confsuffix.h") or die "src/config$confsuffix.h: $!"; while () { print if /^ *#/; }