cri-o/test/runtimeversion.bats
Aleksa Sarai 498d2d602e
test: add more debugging output
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>
2016-10-02 19:13:00 +11:00

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
}