From: Daniel Stenberg Date: Fri, 6 Oct 2006 21:19:40 +0000 (+0000) Subject: catch silly mistakes better X-Git-Tag: curl-7_16_0~129 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca5846cde95097d6a3436474ed641a96158b46e3;p=curl catch silly mistakes better --- diff --git a/tests/runtests.pl b/tests/runtests.pl index 586684482..402545a61 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -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; }