spawn/sh/e2e
A 548f41ed47
fix(e2e): source .bashrc in openclaw verify to resolve binary path on Sprite (#2660)
On Sprite VMs, npm's global prefix (from nvm) is writable and in PATH
after sourcing .bashrc, so openclaw installs to the nvm bin dir instead
of ~/.npm-global/bin. The E2E verify_openclaw() binary check only
prepended ~/.npm-global/bin, ~/.bun/bin, and ~/.local/bin — missing the
nvm bin path entirely.

Source .bashrc (in addition to .spawnrc) before the command -v check so
the verify PATH matches the install-time PATH. Applied the same fix to
the ensure/restart gateway helpers and the openclaw input test.

Fixes #2656

Agent: code-health

Co-authored-by: B <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 12:46:37 -07:00
..
lib fix(e2e): source .bashrc in openclaw verify to resolve binary path on Sprite (#2660) 2026-03-15 12:46:37 -07:00
e2e.sh feat: add Telegram soak test for OpenClaw (--soak mode) (#2492) 2026-03-11 05:51:53 -04:00