The script does the following:
- Build from git url.
- Hang idle if test machine is up. Proceed if it's down. This is to handle concurrency.
- Clean up old system.
- Copy over new system and configuration.
- Boot up test machine.
- Connect to test machine and run kyua test. The git repo and jailname can be specified using the test.json file.
You can either:
- run
./testbuilddirectly Or: - go run testbuild.go