nixos/tests/boot-stage1: Adjust for new pgrep output (#352769)

This commit is contained in:
Emily 2024-11-01 03:01:10 +00:00 committed by GitHub
commit 21980f5e37
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -157,7 +157,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
machine.fail("pgrep -a canary1")
machine.fail("kill -0 $(< /run/canary2.pid)")
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 ];