Debian Codegraph @

tests/idxdiff-3

raw symbols SCIP
1 #! /bin/shscip-shell filesystem . . `/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=`pwdscip-shell system . . pwd.`/test-log
9 echoscip-shell system . . echo. ' *** starting ' $0 >>$LOG
10
11 cd idx5
12 targets=`findscip-shell system . . 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 diffscip-shell system . . diff. "idx5/$target" "idx6/$target"
18 testscip-shell system . . test. "$?" != "0" && exit 1 # error if not success
19 done
20 exit 0