diff options
Diffstat (limited to 'test/prove.sh')
-rwxr-xr-x | test/prove.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/prove.sh b/test/prove.sh new file mode 100755 index 00000000..5dadca71 --- /dev/null +++ b/test/prove.sh @@ -0,0 +1,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 |