Skip to content

Commit 3e47445

Browse files
DaanDeMeyerbluca
authored andcommitted
test: Move getty-pre.target logic into integration-test-wrapper.py
Also pull in getty-pre.target via Wants= so it actually gets pulled into the transaction. (cherry picked from commit 854a8c2)
1 parent 829af7b commit 3e47445

File tree

7 files changed

+2
-7
lines changed

7 files changed

+2
-7
lines changed

test/TEST-07-PID1/TEST-07-PID1.service

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
Description=TEST-07-PID1
44
Wants=basic.target multi-user.target
55
After=basic.target
6-
Before=getty-pre.target
76

87
[Service]
98
Type=oneshot

test/TEST-16-EXTEND-TIMEOUT/TEST-16-EXTEND-TIMEOUT.service

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Description=TEST-16-EXTEND-TIMEOUT
55

66
Wants=basic.target multi-user.target
77
After=basic.target
8-
Before=getty-pre.target
98

109
Wants=success-all.service
1110
Wants=success-start.service

test/TEST-44-LOG-NAMESPACE/TEST-44-LOG-NAMESPACE.service

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
Description=TEST-44-LOG-NAMESPACE
44
Wants=basic.target multi-user.target [email protected] [email protected]
55
6-
Before=getty-pre.target
76

87
[Service]
98
ExecStartPre=rm -f /failed /testok

test/TEST-69-SHUTDOWN/TEST-69-SHUTDOWN.service

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
Description=TEST-69-SHUTDOWN
44
Wants=basic.target multi-user.target
55
After=basic.target
6-
Before=getty-pre.target
76

87
ConditionPathExists=/usr/bin/python3
98

test/TEST-82-SOFTREBOOT/TEST-82-SOFTREBOOT.service

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ Description=TEST-82-SOFTREBOOT
44
DefaultDependencies=no
55
Wants=basic.target multi-user.target
66
After=basic.target
7-
Before=getty-pre.target
87

98
[Service]
109
Type=oneshot

test/integration-test-wrapper.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,8 @@ def main() -> None:
454454
dropin += textwrap.dedent(
455455
"""
456456
[Unit]
457-
Wants=multi-user.target
457+
Wants=multi-user.target getty-pre.target
458+
Before=getty-pre.target
458459
"""
459460
)
460461

test/test.service.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
Description=%N
44
Wants=basic.target network.target @wants@
55
After=basic.target network.target @after@
6-
Before=getty-pre.target
76

87
[Service]
98
ExecStartPre=rm -f /failed /testok

0 commit comments

Comments
 (0)