summaryrefslogtreecommitdiff
path: root/test/prove.sh
blob: 5dadca717cf856c014364f99e0fbdd10c847bee5 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

if [ -n "$1" ]; then
    ledger --seed=$1 --actual --args-only generate > /tmp/cout
else
    ledger --actual --args-only generate > /tmp/cout
fi

ledger -f /tmp/cout --actual --args-only print > /tmp/print

diff -w -U3 /tmp/cout /tmp/print