added test for chlorodb

Former-commit-id: 639cbbdc91a6c7f11544dbbe1fa0c47e1e28eaad
Former-commit-id: 59f6ff3f727d01f3ed4d553a554b322b24119b06
This commit is contained in:
alain viari
2015-11-13 18:53:47 +01:00
parent 13b03062d5
commit 42707c281c
17 changed files with 433 additions and 12 deletions

View File

@@ -0,0 +1,25 @@
#!/bin/csh -f
setenv ORG_HOME `dirname $0`/../../../../..
source $ORG_HOME/scripts/csh_init.sh
echo "+ testing go_chlorodb.sh"
\cp -r test.db TMP
`dirname $0`/../go_chlorodb.sh TMP
find TMP -name \*.fst -print | sort > 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 TMP test.bak
else
echo "* $VTC[2]test Failure$VTC[1]"
endif
exit $stat