Files
annotate/detectors/cds/tools/compare/test/go_test.sh

22 lines
382 B
Bash
Raw Normal View History

#!/bin/csh -f
setenv ORG_HOME `dirname $0`/../../../../..
source $ORG_HOME/scripts/csh_init.sh
echo "+ testing go_compare.sh"
`dirname $0`/../go_compare.sh ref.gbk pred.embl > test.bak
diff -q test.bak test.ref >& /dev/null
set stat = $status
if ($stat == 0) then
echo "+ $VTC[3]test Ok$VTC[1]"
\rm -r test.bak
else
echo "* $VTC[2]test Failure$VTC[1]"
endif
exit $stat