blob: 707af51e2cc05284e39f5b83eb5032a273b3f706 [file] [log] [blame]
#!/bin/sh
set -e
# a normal pass case with details
runtest()
{
echo "here is some stdout text"
echo "here is some stderr text" 1>&2
}
case "$1" in
test)
if runtest; then
echo PASS all required tests passed
else
echo FAIL
fi
;;
*)
echo "Usage: $0 {test}"
exit 1
esac