Files
OpenJarvis/tests/install/cases/run-as-root.md
T
58f7f717ae docs(test): use canonical github.io install URL in run-as-root case (#473)
The run-as-root install case doc still showed the retry command using
the community-operated openjarvis.ai domain, whose TLS is broken and
which the project does not control (#337). Point it at the canonical,
project-controlled GitHub Pages URL, matching README and the install
docs. Documentation only — the bats test it describes asserts exit
code + "root" in stderr and has no URL dependency.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-01 16:51:16 -07:00

503 B

Failure: install.sh run as root

Trigger

User runs sudo bash install.sh or invokes the installer from a root shell.

Expected behavior

  • Hard fail before any state is created.
  • stderr includes "don't run as root" and a hint to re-run as the regular user.
  • Exit code: non-zero.

Retry

Re-run as the regular user (without sudo):

curl -fsSL https://open-jarvis.github.io/OpenJarvis/install.sh | bash

Test

tests/install/bash/test_install.bats::"refuses to run as root"