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.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[Unit]
|
||||
Description=End the test
|
||||
After=testsuite.service
|
||||
After=testsuite.target
|
||||
OnFailure=poweroff.target
|
||||
OnFailureJobMode=replace-irreversibly
|
||||
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user