summaryrefslogtreecommitdiffstats
path: root/test/units/testsuite-33.sh
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-04-29 02:10:11 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-04-29 02:10:28 +0200
commit2e701a7946b492cc5f1e56307c4e94110b4c650c (patch)
treeead4e81a927192ca5b38f08ccfe4f5b095809f00 /test/units/testsuite-33.sh
parentcore/path: do not enqueue new job in .trigger_notify callback (diff)
downloadsystemd-2e701a7946b492cc5f1e56307c4e94110b4c650c.tar.xz
systemd-2e701a7946b492cc5f1e56307c4e94110b4c650c.zip
test: create temporary units under /run
Diffstat (limited to '')
-rwxr-xr-xtest/units/testsuite-33.sh8
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