diff options
Diffstat (limited to 'test/TEST-12-ISSUE-3171/test.sh')
-rwxr-xr-x | test/TEST-12-ISSUE-3171/test.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/TEST-12-ISSUE-3171/test.sh b/test/TEST-12-ISSUE-3171/test.sh index 559fa469cd..0c267e11a6 100755 --- a/test/TEST-12-ISSUE-3171/test.sh +++ b/test/TEST-12-ISSUE-3171/test.sh @@ -20,6 +20,14 @@ test_setup() { setup_basic_environment dracut_install cat mv stat nc + # mask some services that we do not want to run in these tests + ln -fs /dev/null $initdir/etc/systemd/system/systemd-hwdb-update.service + ln -fs /dev/null $initdir/etc/systemd/system/systemd-journal-catalog-update.service + ln -fs /dev/null $initdir/etc/systemd/system/systemd-networkd.service + ln -fs /dev/null $initdir/etc/systemd/system/systemd-networkd.socket + ln -fs /dev/null $initdir/etc/systemd/system/systemd-resolved.service + ln -fs /dev/null $initdir/etc/systemd/system/systemd-machined.service + # setup the testsuite service cat >$initdir/etc/systemd/system/testsuite.service <<EOF [Unit] @@ -31,7 +39,6 @@ ExecStart=/test-socket-group.sh Type=oneshot EOF - cat >$initdir/test-socket-group.sh <<'EOF' #!/bin/bash set -x |