diff --git a/test/e2e/live/podman-portable-uninstall.test.ts b/test/e2e/live/podman-portable-uninstall.test.ts index 57927396fb8..62dd1b654c0 100644 --- a/test/e2e/live/podman-portable-uninstall.test.ts +++ b/test/e2e/live/podman-portable-uninstall.test.ts @@ -334,7 +334,8 @@ test( .filter((entry) => entry.isFile() || entry.isSymbolicLink()) .map((entry) => path.join(entry.parentPath, entry.name)); expect(residualFiles).toEqual([retirementRecord]); - expect(fs.existsSync(configDir)).toBe(false); + expect(fs.readdirSync(path.dirname(expectedContainersConf))).toEqual([]); + expect(fs.statSync(path.dirname(expectedContainersConf)).mode & 0o777).toBe(0o700); const managerEnvironment = await runCommand( shellProbe, "systemctl", diff --git a/test/uninstall.test.ts b/test/uninstall.test.ts index b59ad213e1a..cc94a516104 100644 --- a/test/uninstall.test.ts +++ b/test/uninstall.test.ts @@ -278,6 +278,7 @@ exit 0 path.join(fakeBin, "openshell"), `#!/usr/bin/env bash case "$*" in + "status -g nemoclaw") printf 'Status: Connected\\nGateway: nemoclaw\\n' ;; "gateway list -o json") printf '[{"name":"nemoclaw"},{"name":"nemoclaw-9124"}]\\n' ;; "sandbox delete -g nemoclaw my-assistant") printf "Error: status: NotFound, sandbox 'my-assistant' not found\\n" >&2