]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
TEST-01-BASIC: Drop logic to run test without install-tests=true
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 13 May 2024 09:26:58 +0000 (11:26 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 14 May 2024 10:43:28 +0000 (12:43 +0200)
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

index 93185cf896929d438306f91a29b7f63155860e7d..d9619730b036e66a4324bb3b72fbe65818606c5c 100755 (executable)
@@ -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 "$@"