diff --git a/tests/testcurl.pl b/tests/testcurl.pl index 24ea04fa9d761a1cb595b4bd0749274f0465d3a0..4881b408e521b2bfee3d311d91419f3b840188f5 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 /^ *#/; }