diff options
Diffstat (limited to 'stacks/tncs/tnc2c-autotest.sh')
| -rwxr-xr-x | stacks/tncs/tnc2c-autotest.sh | 11 |
1 files changed, 11 insertions, 0 deletions
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" "$@" |
