aboutsummaryrefslogtreecommitdiff
path: root/test/command.bats
blob: 86e58f9db222db2d533601a01386a5be0ab9b8bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env bats

load helpers

@test "crio commands" {
	run ${CRIO_BINARY} --config /dev/null config > /dev/null
	echo "$output"
	[ "$status" -eq 0 ]
	run ${CRIO_BINARY} badoption > /dev/null
	echo "$output"
	[ "$status" -ne 0 ]
}