source:
git/tests/diffpos.tst
@
fe444b8
Last change on this file since fe444b8 was 6619585, checked in by , 24 years ago | |
---|---|
|
|
File size: 364 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 | |
[6619585] | 8 | : ${TESTS=$*} |
[1422c39] | 9 | : ${TESTS="delatend addatend"} |
10 | ||
11 | for file in $TESTS ; do | |
[fbc3a20] | 12 | echo $file |
13 | rm -f diffpos.tmp | |
[647407d] | 14 | $DIFFPOS $srcdir/${file}a.pos $srcdir/${file}b.pos > diffpos.tmp |
[fbc3a20] | 15 | cmp diffpos.tmp $srcdir/${file}.out > /dev/null || exit 1 |
16 | rm -f diffpos.tmp | |
17 | done | |
18 | exit 0 |
Note: See TracBrowser
for help on using the repository browser.