summaryrefslogtreecommitdiffstats
path: root/test/TEST-01-BASIC
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/TEST-01-BASIC
parenttest: allow overriding EFI_MOUNT like other variables (diff)
downloadsystemd-fe85f2bb9c11fd0c3787cc28caa7ea6420553db8.tar.xz
systemd-fe85f2bb9c11fd0c3787cc28caa7ea6420553db8.zip
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/TEST-01-BASIC')
-rwxr-xr-xtest/TEST-01-BASIC/test.sh15
1 files changed, 1 insertions, 14 deletions
diff --git a/test/TEST-01-BASIC/test.sh b/test/TEST-01-BASIC/test.sh
index 0eaa8f991a..e07e1f3771 100755
--- a/test/TEST-01-BASIC/test.sh
+++ b/test/TEST-01-BASIC/test.sh
@@ -14,21 +14,8 @@ test_setup() {
eval $(udevadm info --export --query=env --name=${LOOPDEV}p2)
setup_basic_environment
-
- # setup the testsuite service
- cat >$initdir/etc/systemd/system/testsuite.service <<EOF
-[Unit]
-Description=Testsuite service
-After=multi-user.target
-
-[Service]
-ExecStart=/bin/sh -e -x -c 'systemctl --state=failed --no-legend --no-pager > /failed ; systemctl daemon-reload ; echo OK > /testok'
-Type=oneshot
-EOF
-
- setup_testsuite
)
setup_nspawn_root
}
-do_test "$@"
+do_test "$@" 01