test/TEST-28: avoid race in handling of /testok
This commit is contained in:
parent
4962ed9f33
commit
de0162a95a
|
@ -1,5 +1,6 @@
|
|||
[Unit]
|
||||
Description=Dependent service for percent-j specifier
|
||||
After=testsuite-28-pre.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
Description=Wants with percent-j specifier
|
||||
Wants=specifier-j-depends-%j.service
|
||||
After=specifier-j-depends-%j.service
|
||||
After=testsuite-28-pre.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
[Service]
|
||||
ExecStart=rm -f /failed /testok
|
||||
Type=oneshot
|
|
@ -3,8 +3,9 @@ Description=TEST-28-PERCENTJ-WANTEDBY
|
|||
# Testsuite: Ensure %j Wants directives work
|
||||
Wants=specifier-j-wants.service
|
||||
After=specifier-j-wants.service
|
||||
Requires=testsuite-28-pre.service
|
||||
After=testsuite-28-pre.service
|
||||
|
||||
[Service]
|
||||
ExecStartPre=rm -f /failed /testok
|
||||
ExecStart=true
|
||||
Type=oneshot
|
||||
|
|
Loading…
Reference in New Issue