aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 /^ *#/;
}