Skip to content

Files

Latest commit

991d9d4 · Jul 8, 2019

History

History

integration

Integration tests

Set GOSS_EXE env

export GOSS_EXE=/../../../release/goss-linux-amd64

Commander

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 

Debugging shell scripts

Add -x and -v to the shebang lines, this enables printing of the executed commands.

#!/bin/bash -vx