|
|
1.1 root 1: #! /bin/csh -f
2:
3: #
4: # check <test output> <expected output>
5: #
6: # Check to see if test output matches expected output.
7: # If not, run diff and ask if differences are "ok". If so,
8: # install new output as expected output.
9: #
10:
11: cmp -s $1 $2
12: if ($status != 0) then
13: diff $1 $2
14: echo -n "ok? "
15: if ($< != y) then
16: exit 1
17: endif
18: mv $1 $2
19: endif
20: exit 0
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.