From 04d965d67a7264a1c7c211494aebda1953df7603 Mon Sep 17 00:00:00 2001 From: "info@mode42.com" Date: Fri, 7 Aug 2026 18:25:13 +0000 Subject: Initial push --- stacks/tncs/tnc2c-autotest.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 stacks/tncs/tnc2c-autotest.sh (limited to 'stacks/tncs/tnc2c-autotest.sh') diff --git a/stacks/tncs/tnc2c-autotest.sh b/stacks/tncs/tnc2c-autotest.sh new file mode 100755 index 0000000..d0f119d --- /dev/null +++ b/stacks/tncs/tnc2c-autotest.sh @@ -0,0 +1,11 @@ +#!/bin/bash +# Exhaustive safe TNC2C autotest — no PTT unless --tx. +# Usage: +# ./tnc2c-autotest.sh --host-check # after power reset (~6s, DTR stays high) +# ./tnc2c-autotest.sh --host-check --write-env +# ./tnc2c-autotest.sh --quick # full sweep, 19200 first (~2 min) +# ./tnc2c-autotest.sh --write-env + +set -euo pipefail +ROOT="$(cd "$(dirname "$0")" && pwd)" +exec python3 "$ROOT/tnc2c-autotest.py" "$@" -- cgit v1.3.1