#!/bin/bash set -x cd /tmp rm -rf testosterone svn co http://www.zetadev.com/svn/public/testosterone/trunk testosterone cd testosterone LAST=`$PYTHON bin/testosterone -s -x demo testosterone.tests | tail -1` err=`echo $LAST | awk '{print $3}'` fail=`echo $LAST | awk '{print $4}'` if [ $err -gt 0 -o $fail -gt 0 ] then exit 1 else exit 0 fi