From 7590e1d037c7b0bf2e9d775c6722d13eef315566 Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Wed, 17 Apr 2024 16:10:09 +0100 Subject: [PATCH] TEST-07-PID1: Move mount units to test dir To load the units it is sufficient to add them to the units directory and it's a step towards not needing any customisations for this test. --- test/TEST-07-PID1/test.sh | 15 --------------- test/testsuite-07.units/issue2730-alias.mount | 1 + test/testsuite-07.units/issue2730.mount | 8 ++++++++ .../local-fs.target.wants/issue2730.mount | 1 + 4 files changed, 10 insertions(+), 15 deletions(-) create mode 120000 test/testsuite-07.units/issue2730-alias.mount create mode 100644 test/testsuite-07.units/issue2730.mount create mode 120000 test/testsuite-07.units/local-fs.target.wants/issue2730.mount diff --git a/test/TEST-07-PID1/test.sh b/test/TEST-07-PID1/test.sh index cc8a81f77d..b60f1db68f 100755 --- a/test/TEST-07-PID1/test.sh +++ b/test/TEST-07-PID1/test.sh @@ -21,21 +21,6 @@ test_append_files() { printf "[Socket]\nTriggerLimitIntervalSec=10\n" >"$workspace/etc/systemd/system/issue2467.socket.d/TriggerLimitInterval.conf" fi - # Issue: https://github.com/systemd/systemd/issues/2730 - mkdir -p "$workspace/etc/systemd/system/" - cat >"$workspace/etc/systemd/system/issue2730.mount" <