aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2004-07-05 23:35:49 +0000
committerGunter Knauf <gk@gknw.de>2004-07-05 23:35:49 +0000
commit9a6df07d3ded3575382cbcf8459efbe2ef197701 (patch)
treee38a9877faf363780055e5f50ce2c24c8e1c9fd0 /tests
parentc59c429a69752715c778a168f4ca5a13af08250e (diff)
be a bit more verbose when things go wrong.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/testcurl.pl4
1 files 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 (<F>) {
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 (<F>) {
print if /^ *#/;
}