tpm.yml example update hash and add example test case

Signed-off-by: Avi Deitcher <avi@deitcher.net>
This commit is contained in:
Avi Deitcher
2017-07-26 13:52:50 +03:00
parent e776d063ac
commit ffb33e9d64
2 changed files with 24 additions and 1 deletions

View File

@@ -0,0 +1,23 @@
#!/bin/sh
# SUMMARY: Test the tpm example
# LABELS:
set -e
# Source libraries. Uncomment if needed/defined
#. "${RT_LIB}"
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
IMAGE_NAME=tpm
clean_up() {
# remove any files, containers, images etc
rm -rf ${IMAGE_NAME}*
}
trap clean_up EXIT
# Test code goes here
moby build "${LINUXKIT_EXAMPLES_DIR}/${IMAGE_NAME}.yml"
exit 0