From 243a70c2c48791c8e04b8b9e572449e60986f0a3 Mon Sep 17 00:00:00 2001 From: Andre Brait Date: Tue, 15 Sep 2026 21:19:27 +0000 Subject: [PATCH] test: isolate systemd install from host OMP_WEB_OMP_BIN Install persists OMP_WEB_OMP_BIN when set. The LAN-settings test copied process.env and leaked the host value into the written service env file. --- bin/omp-web-systemd.test.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/omp-web-systemd.test.mjs b/bin/omp-web-systemd.test.mjs index 257fdbd9..7a685c25 100644 --- a/bin/omp-web-systemd.test.mjs +++ b/bin/omp-web-systemd.test.mjs @@ -127,6 +127,7 @@ test("install creates the env file and unit with LAN settings", { skip: process. PORT: "40123", }; delete childEnv.PI_CODING_AGENT_DIR; + delete childEnv.OMP_WEB_OMP_BIN; const result = spawnSync(process.execPath, [path.join(process.cwd(), "bin", "omp-web-systemd.js"), "install", "--no-autostart"], { env: childEnv,