From cbb8c52a0f7ec1713638d2859f116fa03d379e55 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Mon, 13 May 2024 11:26:58 +0200 Subject: [PATCH] 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. --- test/TEST-01-BASIC/test.sh | 10 ---------- 1 file changed, 10 deletions(-) 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 "$@" -- 2.47.3