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:
parent
8f280dc5c6
commit
00589b3682
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ function teardown() {
|
||||||
|
|
||||||
@test "ocic runtimeversion" {
|
@test "ocic runtimeversion" {
|
||||||
start_ocid
|
start_ocid
|
||||||
ocic runtimeversion
|
run ocic runtimeversion
|
||||||
echo "$output"
|
echo "$output"
|
||||||
[ "$status" -eq 0 ]
|
[ "$status" -eq 0 ]
|
||||||
stop_ocid
|
stop_ocid
|
||||||
|
|
Loading…
Reference in a new issue