catch silly mistakes better

This commit is contained in:
Daniel Stenberg 2006-10-06 21:19:40 +00:00
parent 8547ab1663
commit ca5846cde9

View File

@ -1394,6 +1394,10 @@ sub singletest {
} }
else { else {
$CMDLINE="$LIBDIR/$tool"; $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; $DBGCURL=$CMDLINE;
} }