
Former-commit-id: 639cbbdc91a6c7f11544dbbe1fa0c47e1e28eaad Former-commit-id: 59f6ff3f727d01f3ed4d553a554b322b24119b06
26 lines
431 B
Bash
Executable File
26 lines
431 B
Bash
Executable File
#!/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
|