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