nixos/tests/boot-stage1: Adjust for new pgrep output

This commit is contained in:
Will Fancher 2024-10-31 22:16:31 -04:00
parent e19cfce6f3
commit ec7e6bad43

View File

@ -157,7 +157,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
machine.fail("pgrep -a canary1") machine.fail("pgrep -a canary1")
machine.fail("kill -0 $(< /run/canary2.pid)") machine.fail("kill -0 $(< /run/canary2.pid)")
machine.succeed('pgrep -a -f "^@canary3$"') machine.succeed('pgrep -a -f "^@canary3$"')
machine.succeed('pgrep -a -f "^kcanary$"') machine.succeed('pgrep -a -f "^\\[kcanary\\]$"')
''; '';
meta.maintainers = with pkgs.lib.maintainers; [ aszlig ]; meta.maintainers = with pkgs.lib.maintainers; [ aszlig ];