From: Daan De Meyer Date: Mon, 13 May 2024 09:26:58 +0000 (+0200) Subject: TEST-01-BASIC: Drop logic to run test without install-tests=true X-Git-Tag: v256-rc2~18^2~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbb8c52a0f7ec1713638d2859f116fa03d379e55;p=thirdparty%2Fsystemd.git TEST-01-BASIC: Drop logic to run test without install-tests=true We don't support this for any other tests either so let's drop the support for running TEST-01-BASIC without installing as well to make the upcoming commit easier to implement. --- diff --git a/test/TEST-01-BASIC/test.sh b/test/TEST-01-BASIC/test.sh index 93185cf8969..d9619730b03 100755 --- a/test/TEST-01-BASIC/test.sh +++ b/test/TEST-01-BASIC/test.sh @@ -16,14 +16,4 @@ KERNEL_APPEND="foo -- -z bar --- baz $KERNEL_APPEND" # shellcheck source=test/test-functions . "${TEST_BASE_DIR:?}/test-functions" -test_append_files() { - local workspace="${1:?}" - local dst - - # Install tests manually so the test is functional even when -Dinstall-tests=false - dst="$workspace/usr/lib/systemd/tests/testdata/units/" - mkdir -p "$dst" - cp -v "$TEST_UNITS_DIR"/{testsuite-01,end}.service "$TEST_UNITS_DIR/testsuite.target" "$dst" -} - do_test "$@"