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>
This commit is contained in:
Aleksa Sarai 2017-03-23 01:24:14 +11:00
parent 8f280dc5c6
commit 00589b3682
No known key found for this signature in database
GPG key ID: 9E18AA267DDB8DB4

View file

@ -8,7 +8,7 @@ function teardown() {
@test "ocic runtimeversion" {
start_ocid
ocic runtimeversion
run ocic runtimeversion
echo "$output"
[ "$status" -eq 0 ]
stop_ocid