5a651eae2f
In the Go implementation, when the 'rm' and 'rmi' commands fail to remove a container or image, they don't use a non-zero exit code. There's currently no nice fix for this. So, the tests have been adjusted as a temporary measure. https://github.com/containers/toolbox/pull/507
8 lines
165 B
Bash
8 lines
165 B
Bash
#!/usr/bin/env bats
|
|
|
|
load helpers
|
|
|
|
@test "Show usage screen when no command is given" {
|
|
run_toolbox 1
|
|
is "${lines[0]}" "Error: missing command" "Usage line 1"
|
|
}
|