]> 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)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 25 Mar 2025 11:35:23 +0000 (12:35 +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.

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=