summaryrefslogtreecommitdiff
path: root/9proc/test/adv_linux_probe.sh
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-19 23:28:22 -0300
committerGabriel Schneider <[email protected]>2026-09-19 23:28:22 -0300
commitba996acfcad1698adbf4a1834fe50e73b1c6cab9 (patch)
tree282ba00ce5b10d7416aecb9f2f0f0a439340a57d /9proc/test/adv_linux_probe.sh
parentb05abcba3ea09ea106ad28364c6e40a3ec31b890 (diff)
downloadcloud9-ba996acfcad1698adbf4a1834fe50e73b1c6cab9.tar.gz
cloud9-ba996acfcad1698adbf4a1834fe50e73b1c6cab9.zip
Rename programs: 9player -> 9ns, introspect -> 9proc, app -> web (9web)
Directories, binaries, build options (-D9ns, -D9proc), step names, module name (9proc), thread and fs names, env var NINEPLAYER_MOUNT -> NINE_MOUNT, docs and test scripts. Browser assets move to web/static. Co-Authored-By: Claude Fable 5.1 <[email protected]>
Diffstat (limited to '9proc/test/adv_linux_probe.sh')
-rwxr-xr-x9proc/test/adv_linux_probe.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/9proc/test/adv_linux_probe.sh b/9proc/test/adv_linux_probe.sh
new file mode 100755
index 0000000..0508f08
--- /dev/null
+++ b/9proc/test/adv_linux_probe.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+# Adversarial tests of the 9proc Linux layer (probe loop, debug provider,
+# signal machinery) with raw 9P2000 over a unix socket and one 9ns mount.
+# Usage: bash 9proc/test/adv_linux_probe.sh <9ns> <9proc-demo> (part of zig build 9proc-adv)
+# Exit 1 on any failure; SKIP (exit 0) without python3.
+set -u
+NS=$(realpath "${1:?path to 9ns}")
+PROC=$(realpath "${2:?path to 9proc-demo}")
+command -v python3 >/dev/null || { echo "SKIP: python3 missing"; exit 0; }
+exec python3 "$(dirname "$0")/adv_linux_probe.py" --ns "$NS" --server "$PROC"