#!/usr/bin/env bash # The ownership scenarios, end to end, with the real binaries. # # One server per scenario on a `.localhost` zone, `didbot` dispatching to # `didbot-operator`, `didbot-register` and `didbot-oauth`, and `didbot-agentd` # on every host; the human's own PDS and an OpenID Connect issuer are stood # in for inside the test. crates/didbot/tests/scenarios.rs is the test, and # this is the way to run it from a shell and watch it go. # # Usage: scripts/scenarios.sh [] set -euo pipefail cd "$(dirname "$0")/.." export CARGO_TARGET_DIR="${CARGO_TARGET_DIR:-$PWD/target}" exec cargo test -p didbot --test scenarios -- --nocapture "$@"