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