3 # Verify test output. Basically we check to see if all the files generated
4 # in /tmp by the get{pw,gr}ent_r.c and program are identical. If there is
5 # some problem with the re-entrancy of the code then the information in the
6 # two files will be different.
11 FILES
="/tmp/${TYPE}_r-${ID}.out-*"
15 for file in $FILES; do
16 cat $file |
sort >$file.sorted
21 SORTED
="/tmp/${TYPE}_r-${ID}.out-*.sorted"
24 for file1
in $SORTED; do
25 for file2
in $SORTED; do
26 if [ $file1 != $file2 ]; then