fixups for tests
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
cfa4a341a6
commit
9b72f29b72
4 changed files with 23 additions and 3 deletions
|
@ -29,13 +29,16 @@ function teardown() {
|
|||
run ocic pod list
|
||||
echo "$output"
|
||||
[ "$status" -eq 0 ]
|
||||
#[[ "${output}" == *'${pod_id}'* ]]
|
||||
[[ "${output}" != "" ]]
|
||||
[[ "${output}" =~ "${pod_id}" ]]
|
||||
|
||||
run ocic ctr list
|
||||
echo "$output"
|
||||
[ "$status" -eq 0 ]
|
||||
#[[ "${output}" == *'${pod_id}'* ]]
|
||||
[[ "${output}" != "" ]]
|
||||
[[ "${output}" =~ "${pod_id}" ]]
|
||||
|
||||
cleanup_ctrs
|
||||
cleanup_pods
|
||||
stop_ocid
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue