aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-10-06 21:19:40 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-10-06 21:19:40 +0000
commitca5846cde95097d6a3436474ed641a96158b46e3 (patch)
tree0ff1e2db400ad217dc174c76000297b483d962a8
parent8547ab166386cccf4e84f07f28e39a0cdc495755 (diff)
catch silly mistakes better
-rwxr-xr-xtests/runtests.pl4
1 files changed, 4 insertions, 0 deletions
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;
}