export GOSS_EXE=/../../../release/goss-linux-amd64
The tool commander
is used to run the test suites.
You find more about it here.
# run tests
$ commander test
# execute a single test
$ commander test commander.yaml "kernel-param resouce should fail"
# verbose execution for debugging
$ commander test --verbose
Add -x
and -v
to the shebang lines, this enables printing of the executed commands.
#!/bin/bash -vx