linuxkit/test/cases/000_build/100_examples/group.sh
Rolf Neugebauer 9eb710411a tests: Add a linux.build group to test 'moby build'
- Add a tests which generates all supported outputs
- move the examples build tests to the new group

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-05-16 15:53:56 +01:00

32 lines
362 B
Bash

#!/bin/sh
# SUMMARY: Check that the examples YAML files work
# LABELS:
group_init() {
# Group initialisation code goes here
return 0
}
group_deinit() {
# Group de-initialisation code goes here
return 0
}
CMD=$1
case $CMD in
init)
group_init
res=$?
;;
deinit)
group_deinit
res=$?
;;
*)
res=1
;;
esac
exit $res