summaryrefslogtreecommitdiffstats
path: root/test/TEST-33-CLEAN-UNIT/test.sh
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-12-10 09:47:14 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-03-28 11:46:47 +0100
commitff978cd24a9c60d859d89997e2650aca4fe7dee2 (patch)
treee31ebbb39a04922938af7a1a4143de5193e80c00 /test/TEST-33-CLEAN-UNIT/test.sh
parenttest: move TEST-32-OOMPOLICY setup to static files (diff)
downloadsystemd-ff978cd24a9c60d859d89997e2650aca4fe7dee2.tar.xz
systemd-ff978cd24a9c60d859d89997e2650aca4fe7dee2.zip
test: move TEST-33-CLEAN-UNIT setup to static files
Diffstat (limited to 'test/TEST-33-CLEAN-UNIT/test.sh')
-rwxr-xr-xtest/TEST-33-CLEAN-UNIT/test.sh17
1 files changed, 2 insertions, 15 deletions
diff --git a/test/TEST-33-CLEAN-UNIT/test.sh b/test/TEST-33-CLEAN-UNIT/test.sh
index 310cf7b145..fe2458b170 100755
--- a/test/TEST-33-CLEAN-UNIT/test.sh
+++ b/test/TEST-33-CLEAN-UNIT/test.sh
@@ -15,21 +15,8 @@ test_setup() {
setup_basic_environment
mask_supporting_services
-
- # setup the testsuite service
- cat >$initdir/etc/systemd/system/testsuite.service <<EOF
-[Unit]
-Description=Testsuite service
-
-[Service]
-ExecStart=/bin/bash -x /testsuite.sh
-Type=oneshot
-EOF
- cp testsuite.sh $initdir/
-
- setup_testsuite
- ) || return 1
+ )
setup_nspawn_root
}
-do_test "$@"
+do_test "$@" 33