From ec7e6bad43753a692539ecbe398ff484ba5ba73c Mon Sep 17 00:00:00 2001 From: Will Fancher Date: Thu, 31 Oct 2024 22:16:31 -0400 Subject: [PATCH] nixos/tests/boot-stage1: Adjust for new pgrep output --- nixos/tests/boot-stage1.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ];