fixups for tests

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca 2016-10-08 14:57:45 +02:00
parent cfa4a341a6
commit 9b72f29b72
No known key found for this signature in database
GPG key ID: B2BEAD150DE936B9
4 changed files with 23 additions and 3 deletions

View file

@ -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
}