Commit | Line | Data |
---|---|---|
4a71579b PC |
1 | #!/bin/sh |
2 | test=`basename $0` | |
3 | ./lightning $srcdir/$test.tst | tr -d \\r > $test.out | |
4 | if test $? != 0; then | |
5 | exit $? | |
6 | fi | |
7 | ||
8 | cmp -s $srcdir/$test.ok $test.out | |
9 | result=$? | |
10 | if test $result != 0; then | |
11 | diff $srcdir/$test.ok $test.out | |
12 | rm $test.out | |
13 | exit 1 | |
14 | fi | |
15 | rm $test.out |