blob: 10dfb33b4f3bf422143cd51d398a17076708b4a9 [file] [log] [blame]
#!/bin/sh
set -e
# show progress messages
runtest()
{
for n in `seq 1 100`; do
echo "$n% complete"
usleep 25000
done
}
case "$1" in
test)
if runtest; then
echo PASS
else
echo FAIL
fi
;;
*)
echo "Usage: $0 {test}"
exit 1
esac