mirror of https://github.com/aya-rs/aya
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
492 B
Bash
36 lines
492 B
Bash
#!/bin/sh
|
|
# SUMMARY: Smoke tests to check that simple programs can be loaded on a VM
|
|
# LABELS:
|
|
|
|
# Source libraries. Uncomment if needed/defined
|
|
# . "${RT_LIB}"
|
|
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
|
|
|
set -e
|
|
|
|
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 |