2 # takes an app name and a version as arguments
4 bold="`tput -T${TERM:-dumb} bold`"
5 red="`tput -T${TERM:-dumb} setf 4`"
6 green="`tput -T${TERM:-dumb} setf 2`"
7 sgr0="`tput -T${TERM:-dumb} sgr0`"
9 if [ "$APP" == "" ]; then
10 echo "Must specify application and version"
13 for i in $1-*-test.sh; do
16 if [ $? -eq 0 ] || [ $? -eq 2 ];
18 echo "${bold}${green}OK${sgr0}"
19 wizard remove "testdir_$(echo "${i%-test.sh}" | tr - _)_$2"
21 echo "${bold}${red}FAIL${sgr0}"