cri-o/test/runtimeversion.bats
Aleksa Sarai 00589b3682
test: fix runtimeversion test
The runtimeversion test was incorrectly written and would fail for no
good reason if setup_ocid happened to run a command that failed (even if
it was handled).

Signed-off-by: Aleksa Sarai <asarai@suse.de>
2017-04-05 02:45:56 +10:00

15 lines
191 B
Bash

#!/usr/bin/env bats
load helpers
function teardown() {
cleanup_test
}
@test "ocic runtimeversion" {
start_ocid
run ocic runtimeversion
echo "$output"
[ "$status" -eq 0 ]
stop_ocid
}