blob: 3535aa99c6af4221c7c1b7841baeaa09d2041b6a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
#!/usr/bin/env bash
# Adversarial tests of the introspect Linux layer (probe loop, debug provider,
# signal machinery) with raw 9P2000 over a unix socket and one 9player mount.
# Usage: bash introspect/test/adv_linux_probe.sh <9player> <introspect> (part of zig build introspect-adv)
# Exit 1 on any failure; SKIP (exit 0) without python3.
set -u
PLAYER=$(realpath "${1:?path to 9player}")
INTROSPECT=$(realpath "${2:?path to introspect}")
command -v python3 >/dev/null || { echo "SKIP: python3 missing"; exit 0; }
exec python3 "$(dirname "$0")/adv_linux_probe.py" --player "$PLAYER" --server "$INTROSPECT"
|