Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 591 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 591 Bytes

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