test/image.bats: pull the image to be used
This is in preparation for disabling pull images on create feature
of crictl.
@@ -75,6 +75,7 @@ function teardown() {
start_crio
pod_id=$(crictl runp "$TESTDATA"/sandbox_config.json)
+ crictl pull "$IMAGE_LIST_DIGEST"
sed -e "s|%VALUE%|$IMAGE_LIST_DIGEST|g" -e 's|"/bin/ls"|"/bin/sleep", "1d"|g' "$TESTDATA"/container_config_by_imageid.json > "$TESTDIR"/ctr_by_imagelistref.json
