]> git.ipfire.org Git - thirdparty/make.git/commitdiff
* test/test_driver.el (_run_with_timeout): Show error message.
authorPaul Smith <psmith@gnu.org>
Sun, 22 Sep 2019 21:03:05 +0000 (17:03 -0400)
committerPaul Smith <psmith@gnu.org>
Sun, 22 Sep 2019 21:03:05 +0000 (17:03 -0400)
tests/test_driver.pl

index 1bb98bafec0b717467e8768a5150d1c5a0e5114f..bcf534d6f08fcadaef83408a76de118c80eb0cfd 100644 (file)
@@ -1008,7 +1008,7 @@ sub _run_with_timeout
   } else {
     my $pid = fork();
     if (! $pid) {
-      exec(@_) or die "exec: Cannot execute $_[0]\n";
+      exec(@_) or die "exec: Cannot execute $_[0]: $!\n";
     }
     local $SIG{ALRM} = sub {
       my $e = $ERRSTACK[0];