Skip to content

armgit / mso

Public Imported from GitHub
0

Browser-based graphical shell and control plane for a Linux server you own — real terminal, file manager, live metrics and BYOK AI in one mobile-first workspace. Next.js 16 · React 19 · node-pty · Tailwind v4 · shadcn/ui. Public alpha, self-hosted.

593 B
Raw Blame
import { spawnSync } from "node:child_process";
import { describe, expect, it } from "vitest";
import { GATEWAY, fixture } from "./mso-gateway-test-fixture";


describe("gateway offline-update safety assertion", () => {
  it("rejects a healthy selected MSO responder that has no gateway ownership state", () => {
    const f = fixture();
    const out = spawnSync(GATEWAY, ["runtime-assert-update-safe"], { env: f.baseEnv, encoding: "utf8" });
    expect(out.status).not.toBe(0);
    expect(out.stderr).toContain("active but is not gateway-owned; stop it before an offline update");
  });
});