diff --git a/nixos/tests/boot-stage1.nix b/nixos/tests/boot-stage1.nix index f07802b8c31e..bc6caa8ee627 100644 --- a/nixos/tests/boot-stage1.nix +++ b/nixos/tests/boot-stage1.nix @@ -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 ];