mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 10:13:34 +08:00
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.
This commit is contained in:
parent
23d79a84a4
commit
cbb8c52a0f
@ -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 "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user