cmd/containerboot: add tests.

Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
David Anderson
2022-11-08 17:29:35 -08:00
committed by Dave Anderson
parent b683921b87
commit 2111357568
3 changed files with 440 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
#
# This is a fake tailscale CLI 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