diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-04-29 02:10:11 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-04-29 02:10:28 +0200 |
commit | 2e701a7946b492cc5f1e56307c4e94110b4c650c (patch) | |
tree | ead4e81a927192ca5b38f08ccfe4f5b095809f00 /test/units/testsuite-33.sh | |
parent | core/path: do not enqueue new job in .trigger_notify callback (diff) | |
download | systemd-2e701a7946b492cc5f1e56307c4e94110b4c650c.tar.xz systemd-2e701a7946b492cc5f1e56307c4e94110b4c650c.zip |
test: create temporary units under /run
Diffstat (limited to '')
-rwxr-xr-x | test/units/testsuite-33.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/units/testsuite-33.sh b/test/units/testsuite-33.sh index c9bd66e268..d48bef73b4 100755 --- a/test/units/testsuite-33.sh +++ b/test/units/testsuite-33.sh @@ -5,7 +5,7 @@ set -eux set -o pipefail -cat >/etc/systemd/system/test-service.service <<EOF +cat >/run/systemd/system/test-service.service <<EOF [Service] ConfigurationDirectory=test-service RuntimeDirectory=test-service @@ -75,7 +75,7 @@ test ! -e /var/lib/test-service test ! -e /var/cache/test-service test ! -e /var/log/test-service -cat >/etc/systemd/system/test-service.service <<EOF +cat >/run/systemd/system/test-service.service <<EOF [Service] DynamicUser=yes ConfigurationDirectory=test-service @@ -170,7 +170,7 @@ test ! -L /var/lib/test-service test ! -L /var/cache/test-service test ! -L /var/log/test-service -cat >/etc/systemd/system/tmp-hoge.mount <<EOF +cat >/run/systemd/system/tmp-hoge.mount <<EOF [Mount] What=tmpfs Type=tmpfs @@ -245,7 +245,7 @@ test ! -d /var/lib/hoge test ! -d /var/cache/hoge test ! -d /var/log/hoge -cat >/etc/systemd/system/test-service.socket <<EOF +cat >/run/systemd/system/test-service.socket <<EOF [Socket] ListenSequentialPacket=/run/test-service.socket RemoveOnStop=yes |