From e276aa5f9d3fa21a7c8ac8a40e40010aa83e08ed Mon Sep 17 00:00:00 2001 From: Jasper Mayone Date: Mon, 16 Nov 2026 10:35:15 -0500 Subject: [PATCH] test(krater): match the quoted edge ping env arg --- tests/krater-weft.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/krater-weft.nix b/tests/krater-weft.nix index ec9012f..bcdd016 100644 --- a/tests/krater-weft.nix +++ b/tests/krater-weft.nix @@ -287,7 +287,8 @@ pkgs.runCommand "krater-weft" { } '' grep -F -- '--time 120 krater-worker' ${pkgs.writeText "worker-stop" svc.krater-worker.serviceConfig.ExecStop} # The worker reads KRATER_EDGE_PING_EXPECTED. Staging's worker gets it; # production's does not yet. - grep -F -- '--env KRATER_EDGE_PING_EXPECTED=true' ${svc.krater-worker.serviceConfig.ExecStart} + # lib.escapeShellArg quotes the pair, because of the "=". + grep -F -- "--env 'KRATER_EDGE_PING_EXPECTED=true'" ${svc.krater-worker.serviceConfig.ExecStart} if grep -F 'KRATER_EDGE_PING_EXPECTED' ${pvc.krater-prod-worker.serviceConfig.ExecStart}; then exit 1 fi