We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d48b27b commit 2b2eefeCopy full SHA for 2b2eefe
test/TEST-41-ONESHOT-RESTART/test.sh
@@ -12,21 +12,8 @@ test_setup() {
12
13
setup_basic_environment
14
mask_supporting_services
15
-
16
- # setup the testsuite service
17
- cat >$initdir/etc/systemd/system/testsuite.service <<EOF
18
-[Unit]
19
-Description=Testsuite service
20
21
-[Service]
22
-ExecStart=/testsuite.sh
23
-Type=oneshot
24
-EOF
25
- cp testsuite.sh $initdir/
26
27
- setup_testsuite
28
)
29
setup_nspawn_root
30
}
31
32
-do_test "$@"
+do_test "$@" 41
test/units/testsuite-41.service
@@ -0,0 +1,6 @@
1
+[Unit]
2
+Description=TEST-41-ONESHOT-RESTART
3
+
4
+[Service]
5
+ExecStart=/usr/lib/systemd/tests/testdata/units/%N.sh
6
+Type=oneshot
test/TEST-41-ONESHOT-RESTART/testsuite.sh test/units/testsuite-41.shtest/TEST-41-ONESHOT-RESTART/testsuite.sh renamed to test/units/testsuite-41.sh
0 commit comments