Debian Codegraph @

tests/idxdiff-3

raw symbols SCIP
1 #! /bin/sh
2 #
3 # Check whether idx5 and idx6 indices are same.
4 #
5 # idx5: reference index which is simply indexed.
6 # idx6: garbage collected by gcnmz.
7 #
8 LOG=`pwd`/test-log
9 echo ' *** starting ' $0 >>$LOG
10
11 cd idx5
12 targets=`find . -type f -name 'NMZ.*' -print | \
13 egrep -v "NMZ\.(log|r|slog|status|err)$"` # Exclude them.
14 cd ..
15
16 for target in $targets; do
17 diff "idx5/$target" "idx6/$target"
18 test "$?" != "0" && exit 1 # error if not success
19 done
20 exit 0