]> granicus.if.org Git - curl/commitdiff
catch silly mistakes better
authorDaniel Stenberg <daniel@haxx.se>
Fri, 6 Oct 2006 21:19:40 +0000 (21:19 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 6 Oct 2006 21:19:40 +0000 (21:19 +0000)
tests/runtests.pl

index 586684482e26c49fca9831df2a08d5d91bb87750..402545a619a2545db5b5680d9c057ebacc199c06 100755 (executable)
@@ -1394,6 +1394,10 @@ sub singletest {
     }
     else {
         $CMDLINE="$LIBDIR/$tool";
+        if(! -f $CMDLINE) {
+            print "The tool set in the test case for this: '$tool' does not exist\n";
+            return -1;
+        }
         $DBGCURL=$CMDLINE;
     }