diff options
Diffstat (limited to '9proc/test/debug.sh')
| -rwxr-xr-x | 9proc/test/debug.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/9proc/test/debug.sh b/9proc/test/debug.sh index 1334dff..fbe726b 100755 --- a/9proc/test/debug.sh +++ b/9proc/test/debug.sh @@ -18,7 +18,7 @@ pass() { PASSED=$((PASSED + 1)); echo "ok - $1"; } fail() { FAILED=$((FAILED + 1)); echo "FAIL - $1"; shift; [ $# -gt 0 ] && printf ' %s\n' "$@"; } expect_eq() { if [ "$2" = "$3" ]; then pass "$1"; else fail "$1" "expected: $(printf %q "$2")" "actual: $(printf %q "$3")"; fi; } expect_contains() { case "$3" in *"$2"*) pass "$1" ;; *) fail "$1" "missing: $(printf %q "$2")" "in: $(printf %q "$3")" ;; esac; } -run_in() { timeout 60 "$NS" --unix "$SOCK" -- sh -c "$1" 2>"$TMP/stderr"; } +run_in() { timeout 60 "$NS" --unix "$SOCK" --mount "$M" -- sh -c "$1" 2>"$TMP/stderr"; } SOCK=$TMP/dbg.sock "$PROC" --unix "$SOCK" >"$TMP/server.log" 2>&1 & |
