Merge pull request #1067 from nalind/secrets-test

Fixups for crio_secrets.bats
This commit is contained in:
Mrunal Patel 2017-10-24 21:01:56 -07:00 committed by GitHub
commit cd04b45540
1 changed files with 3 additions and 3 deletions

View File

@ -20,14 +20,14 @@ function teardown() {
echo "$output"
[ "$status" -eq 0 ]
ctr_id="$output"
run crioctl ctr execsync --id "$ctr_id" mount
run crioctl ctr execsync --id "$ctr_id" cat /proc/mounts
echo "$output"
[ "$status" -eq 0 ]
mount_info="$output"
grep /container/path1 <<< "$mount_info"
run grep /container/path1 <<< "$mount_info"
echo "$output"
[ "$status" -eq 0 ]
rm -rf MOUNT_PATH
rm -rf ${MOUNT_PATH}
cleanup_ctrs
cleanup_pods
stop_crio