From 08428f6b5dad11d6e8465632fafe791acd0ddcfb Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Wed, 26 Mar 2025 17:56:00 +0100 Subject: [PATCH] testing: Fix loading test config for tests that were never run The file won't exist in the previous location until load-testconfig was executed once. Since it's not modified by the script it's fine to load it directly from the original location. Fixes: a103f3a2849f ("testing: Add options to only run pre- or posttest scripts of a scenario") --- testing/do-tests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/do-tests b/testing/do-tests index 6e1b7f917..610e1a169 100755 --- a/testing/do-tests +++ b/testing/do-tests @@ -362,7 +362,7 @@ do unset DBHOSTS unset IPV6 unset SWANCTL - source $TESTDIR/test.conf + source $DEFAULTTESTSDIR/${testname}/test.conf DBDIR=/etc/db.d STATUS="passed"