498d2d602e
In several places, we previously didn't output the $output of the failing command, leading to confusion when debugging. A proper fix is to alias oci{c,d} in helpers.sh like runC does, but that can come later. Signed-off-by: Aleksa Sarai <asarai@suse.de>
15 lines
187 B
Bash
15 lines
187 B
Bash
#!/usr/bin/env bats
|
|
|
|
load helpers
|
|
|
|
function teardown() {
|
|
cleanup_test
|
|
}
|
|
|
|
@test "ocic runtimeversion" {
|
|
start_ocid
|
|
ocic runtimeversion
|
|
echo "$output"
|
|
[ "$status" -eq 0 ]
|
|
stop_ocid
|
|
}
|