testenv/ starts two real NetBox 4.7 instances (v2 and v1 token), SSH targets on public, mgmt, and prod networks, a jump host, an IPv6-only host, a static host, and a client with ssh, sftp, scp, tmux, zellij, bash, zsh, and fish. A seed script fills NetBox through the REST API. 141 end-to-end checks cover cache and refresh filters, connecting, all resolver strategies, multiple instances, shortcuts and rewrites, SSH options and rules, static hosts, sftp/scp incl. IPv6 and jump hosts, tunnels, local notes and NetBox comments, completion and shell hooks, the TUI (driven through tmux), the configurator, and uninstall. Local only: testenv/up.sh, test.sh, shell.sh, down.sh. Not part of CI/CD. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
7 lines
198 B
Bash
Executable File
7 lines
198 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Stop the netssh test environment and remove its volumes and state.
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")"
|
|
docker compose -f compose.yaml down -v --remove-orphans
|
|
rm -rf .state
|