]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
be a bit more verbose when things go wrong.
authorGunter Knauf <gk@gknw.de>
Mon, 5 Jul 2004 23:35:49 +0000 (23:35 +0000)
committerGunter Knauf <gk@gknw.de>
Mon, 5 Jul 2004 23:35:49 +0000 (23:35 +0000)
tests/testcurl.pl

index 24ea04fa9d761a1cb595b4bd0749274f0465d3a0..4881b408e521b2bfee3d311d91419f3b840188f5 100755 (executable)
@@ -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 /^ *#/;
 }