Merge pull request #2278 from deitch/tpm-tools

tpm tools
This commit is contained in:
Justin Cormack
2017-07-26 22:01:51 +01:00
committed by GitHub
12 changed files with 322 additions and 0 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