teknoraver / rpms / systemd

Forked from rpms/systemd 3 months ago
Clone

Blame SOURCES/0349-test-do-not-restart-getty-tty2-automatically.patch

594167
From 76771540ffa4656e66e6ee64d1f23a08d7f2d1ae Mon Sep 17 00:00:00 2001
594167
From: Yu Watanabe <watanabe.yu+github@gmail.com>
594167
Date: Sun, 31 Jul 2022 00:12:48 +0900
594167
Subject: [PATCH] test: do not restart getty@tty2 automatically
594167
594167
(cherry picked from commit 54d5c126d30dc0bc4c88d776af2b59e240844d58)
594167
594167
Related: #2100464
594167
---
594167
 test/units/testsuite-35.sh | 1 +
594167
 1 file changed, 1 insertion(+)
594167
594167
diff --git a/test/units/testsuite-35.sh b/test/units/testsuite-35.sh
594167
index b6b1639668..8bd93ce92c 100755
594167
--- a/test/units/testsuite-35.sh
594167
+++ b/test/units/testsuite-35.sh
594167
@@ -323,6 +323,7 @@ create_session() {
594167
 Type=simple
594167
 ExecStart=
594167
 ExecStart=-/sbin/agetty --autologin logind-test-user --noclear %I $TERM
594167
+Restart=no
594167
 EOF
594167
     systemctl daemon-reload
594167