]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: Disable pager in integration test units
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 25 Mar 2025 09:37:32 +0000 (10:37 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 8 Apr 2025 19:52:11 +0000 (20:52 +0100)
Integration test units are now connected to the tty when running
interactively, so let's make sure we disable the pager to avoid tests
hanging in the pager.

(cherry picked from commit 52b4371807eff68c6f3b1806937af0e8a95e7f40)
(cherry picked from commit 6bbe09a4bc14f9b771235fc6dfe1f21ccf28477a)

test/test.service.in

index 77ddb8541bd9a549a096fe90bf6a515c306a509c..0c3bd28c6b8d9e6b5fc2d40199333d13f52d9bbc 100644 (file)
@@ -9,3 +9,4 @@ ExecStartPre=rm -f /failed /testok
 ExecStart=@command@
 Type=oneshot
 MemoryAccounting=@memory-accounting@
+Environment=SYSTEMD_PAGER=