Files
annotate/detectors/normalize/test/go_test.sh
alain viari 8dab2d56b2 CDS detector added
Former-commit-id: 93fac7a70052d06c2a12bf8af59820c653edd31b
Former-commit-id: 0869fdad0f550941a0f78f1e4c57f4fcdb3f6076
2015-11-08 14:28:05 +01:00

19 lines
294 B
Bash
Executable File
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/csh -f
echo "+ [testing Normalize]"
../bin/go_normalize.sh test.fst > test.bak
diff -q test.bak test.ref >& /dev/null
set stat = $status
if ($stat == 0) then
echo '+ Normalize test Ok'
\rm -r test.bak
else
echo '+ Normalize test Failure'
endif
exit $stat