summaryrefslogtreecommitdiffhomepage
path: root/cmd/containerboot/test_tailscale.sh
blob: 1fa10abb181852f175ed8ff012d67b54e54080ae (plain)
1
2
3
4
5
6
7
8
#!/usr/bin/env bash
#
# This is a fake tailscale CLI (and also iptables and ip6tables) that
# records its arguments and exits successfully.
#
# It is used by main_test.go to test the behavior of containerboot.

echo $0 $@ >>$TS_TEST_RECORD_ARGS