From: Benjamin Drung Date: Wed, 28 Jan 2026 19:21:25 +0000 (+0100) Subject: test: execute assertion.sh instead of sourcing it X-Git-Tag: 110~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e342367f15b95ffc2fe8d872c2e0c1103539105d;p=thirdparty%2Fdracut-ng.git test: execute assertion.sh instead of sourcing it The `assertion.sh` files do not need to access from `test-init.sh`. So execute `assertion.sh` instead of sourcing it. --- diff --git a/test/modules.d/70test-root/test-init.sh b/test/modules.d/70test-root/test-init.sh index 2ea5c1a28..02ce76241 100755 --- a/test/modules.d/70test-root/test-init.sh +++ b/test/modules.d/70test-root/test-init.sh @@ -43,7 +43,7 @@ fi # run the test case specific test assertion if exists if [ -x "/assertion.sh" ]; then - . /assertion.sh + /assertion.sh fi if [ -s /run/failed ]; then