File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 3
3
# Verify test output. Basically we check to see if all the files generated
4
4
# in /tmp by the get{pw,gr}ent_r.c and program are identical. If there is
5
5
# some problem with the re-entrancy of the code then the information in the
6
- # two files will be different.
6
+ # two files will be different.
7
7
#
8
8
9
9
TYPE=$1
@@ -13,7 +13,7 @@ FILES="/tmp/${TYPE}_r-${ID}.out-*"
13
13
# Sort files
14
14
15
15
for file in $FILES ; do
16
- cat $file | sort > $file .sorted
16
+ cat $file | sort > $file .sorted
17
17
done
18
18
19
19
# Diff files
@@ -22,14 +22,13 @@ SORTED="/tmp/${TYPE}_r-${ID}.out-*.sorted"
22
22
failed=0
23
23
24
24
for file1 in $SORTED ; do
25
- for file2 in $SORTED ; do
26
- if [ $file1 != $file2 ]; then
27
- diff $file1 $file2
28
- fi
29
- done
25
+ for file2 in $SORTED ; do
26
+ if [ $file1 != $file2 ]; then
27
+ diff $file1 $file2
28
+ fi
29
+ done
30
30
done
31
31
32
32
# Clean up
33
33
34
34
rm -f $SORTED
35
-
You can’t perform that action at this time.
0 commit comments