From ca8df4c0742d9d6290614e5213b18a68cf5dc7f7 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Tue, 23 Apr 2019 16:09:50 +0200 Subject: [PATCH] REGTEST: make the "run-regtests" script search for tests in reg-tests by default It happens almost daily to me that make regtests fails because the script found a temporary, old, or broken VTC file that was lying in my work dir, leaving me no place to hide it. This is a real pain as some tests take ages to fail, so let's make this script only look up for tests where they are expected to be stored, under reg-tests only. It remains possible to force the location on the command line though. --- scripts/run-regtests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run-regtests.sh b/scripts/run-regtests.sh index 27f738056..10f29e408 100755 --- a/scripts/run-regtests.sh +++ b/scripts/run-regtests.sh @@ -332,7 +332,7 @@ if [ $(_version "$HAPROXY_VERSION") -lt $(_version "1.9") ]; then fi if [ -z "$REGTESTS" ]; then - _findtests ./ + _findtests reg-tests/ else for t in $REGTESTS; do _findtests $t