aboutsummaryrefslogtreecommitdiff
path: root/deps/lightning/check/check.x87.nodata.sh
blob: 1582e9f622f5bf2c5caf5b8c1f5e67f7c1a4e004 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
test=`basename $0 | sed -e 's|\.x87.nodata$||'`
./lightning -data=0 -mx87=1 $srcdir/$test.tst | tr -d \\r > $test.out
if test $? != 0; then
  exit $?
fi

cmp -s $srcdir/$test.ok $test.out
result=$?
if test $result != 0; then
    diff $srcdir/$test.ok $test.out
    rm $test.out
    exit 1
fi
rm $test.out