From ca5846cde95097d6a3436474ed641a96158b46e3 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 6 Oct 2006 21:19:40 +0000 Subject: [PATCH] catch silly mistakes better --- tests/runtests.pl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/runtests.pl b/tests/runtests.pl index 5866844..402545a 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; } -- 2.7.4