server/sandbox: fix add/release pod/ctr ids and names

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca 2016-10-13 10:50:51 +02:00
parent e999610fd6
commit 8a9395964e
No known key found for this signature in database
GPG key ID: B2BEAD150DE936B9
3 changed files with 78 additions and 8 deletions

View file

@ -30,13 +30,13 @@ function teardown() {
echo "$output"
[ "$status" -eq 0 ]
[[ "${output}" != "" ]]
[[ "${output}" =~ "${pod_id}" ]]
[[ "${output}" =~ "${pod_id}" ]]
run ocic ctr list
echo "$output"
[ "$status" -eq 0 ]
[[ "${output}" != "" ]]
[[ "${output}" =~ "${pod_id}" ]]
[[ "${output}" =~ "${pod_id}" ]]
cleanup_ctrs
cleanup_pods