git subrepo clone https://git.savannah.gnu.org/git/lightning.git deps/lightning
[pcsx_rearmed.git] / deps / lightning / check / check.nodata.sh
1 #!/bin/sh
2 test=`basename $0 | sed -e 's|\.nodata$||'`
3 ./lightning -d $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