source:
git/tests/diffpos.tst
@
19d71fc9
Last change on this file since 19d71fc9 was 0938f88, checked in by , 24 years ago | |
---|---|
|
|
File size: 355 bytes |
Rev | Line | |
---|---|---|
[fbc3a20] | 1 | #!/bin/sh |
[6b8ff5b] | 2 | |
3 | # allow us to run tests standalone more easily | |
[647407d] | 4 | : ${srcdir=.} |
5 | ||
6 | : ${DIFFPOS=../src/diffpos} | |
[6b8ff5b] | 7 | |
[0938f88] | 8 | : ${TESTS=${*-"delatend addatend"}} |
[1422c39] | 9 | |
10 | for file in $TESTS ; do | |
[fbc3a20] | 11 | echo $file |
12 | rm -f diffpos.tmp | |
[647407d] | 13 | $DIFFPOS $srcdir/${file}a.pos $srcdir/${file}b.pos > diffpos.tmp |
[fbc3a20] | 14 | cmp diffpos.tmp $srcdir/${file}.out > /dev/null || exit 1 |
15 | rm -f diffpos.tmp | |
16 | done | |
17 | exit 0 |
Note: See TracBrowser
for help on using the repository browser.