summaryrefslogtreecommitdiff
path: root/test/units/testsuite-01.service
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-12-09 18:56:13 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-03-28 11:46:47 +0100
commitfe85f2bb9c11fd0c3787cc28caa7ea6420553db8 (patch)
treec3cca97d05169472a34481dd1f99a0f14445c17d /test/units/testsuite-01.service
parent5f28f3ddaf0a021d0b051240f5052a7b1c4d5490 (diff)
downloadsystemd-fe85f2bb9c11fd0c3787cc28caa7ea6420553db8.tar.gz
test: move TEST-01-BASIC setup to static files
After this commit, only tests that were converted will work, because the interface to test_run() changed.
Diffstat (limited to 'test/units/testsuite-01.service')
-rw-r--r--test/units/testsuite-01.service7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/units/testsuite-01.service b/test/units/testsuite-01.service
new file mode 100644
index 0000000000..8112a85c18
--- /dev/null
+++ b/test/units/testsuite-01.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=TEST-01-BASIC
+After=multi-user.target
+
+[Service]
+ExecStart=sh -e -x -c 'systemctl --state=failed --no-legend --no-pager >/failed ; systemctl daemon-reload ; echo OK >/testok'
+Type=oneshot