mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
nixos/tests/printing: fix after setting pipefail
It failed since pipefail (b7749c7
, PR #125683), due to `systemctl status`
not exiting with code=0 for inactive units (apparently).
That command is meant for humans anyway.
This commit is contained in:
parent
9269ea2b53
commit
b4fd0a9118
@ -63,7 +63,7 @@ in {
|
||||
):
|
||||
serviceClient.sleep(20)
|
||||
socketActivatedClient.wait_until_succeeds(
|
||||
"systemctl status ensure-printers | grep -q -E 'code=exited, status=0/SUCCESS'"
|
||||
"systemctl show ensure-printers | grep -q -E 'code=exited ; status=0'"
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user