summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtest/integration-test-wrapper.py1
-rw-r--r--test/test.service.in1
2 files changed, 1 insertions, 1 deletions
diff --git a/test/integration-test-wrapper.py b/test/integration-test-wrapper.py
index 94904cfbc4..610c34c903 100755
--- a/test/integration-test-wrapper.py
+++ b/test/integration-test-wrapper.py
@@ -470,6 +470,7 @@ def main() -> None:
[Service]
ExecStartPre=/usr/lib/systemd/tests/testdata/integration-test-setup.sh setup
ExecStopPost=/usr/lib/systemd/tests/testdata/integration-test-setup.sh finalize
+ StateDirectory=%N
"""
)
diff --git a/test/test.service.in b/test/test.service.in
index 75f703698f..790c513da4 100644
--- a/test/test.service.in
+++ b/test/test.service.in
@@ -10,4 +10,3 @@ ExecStartPre=rm -f /failed /testok
ExecStart=@command@
Type=oneshot
MemoryAccounting=@memory-accounting@
-StateDirectory=%N