summaryrefslogtreecommitdiff
path: root/stacks/tncs/tnc2c-autotest.sh
blob: d0f119d6acdf0b60d4d4e942615bb04d8b377014 (plain)
1
2
3
4
5
6
7
8
9
10
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" "$@"
git clone -b <branch> https://cgit.mode42.com/<repo>.git
git clone -b <branch> git://cgit.mode42.com/<repo>.git

info@mode42.com