summaryrefslogtreecommitdiff
path: root/tools/regtest
blob: b42b498171acf1d6eff0e3b62d1c81dda0d06578 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

errors=0

for test in						\
    "-O \$cmd 0ecbb1b15e2cf3e515cc0f8533e5bb0fb2326728"	\
    "-B \$cmd c56a21d23a6535184e7152ee138c28974f14280c"	\
    "-V \$cmd c56a21d23a6535184e7152ee138c28974f14280c"	\
    "-G \$cmd c56a21d23a6535184e7152ee138c28974f14280c"	\
    "-B \$cmd c0226fafdf9e6711ac9121cf263e2d50791859cb"	\
    "-V \$cmd c0226fafdf9e6711ac9121cf263e2d50791859cb"	\
    "-G \$cmd c0226fafdf9e6711ac9121cf263e2d50791859cb"
do
  echo testing: $test
  python tools/confirm.py "ledger -f tools/standard.dat --args-only --columns=80 $test"
  errors=`expr $errors + $?`
done

if [ $errors = 0 ]; then
    echo All tests completed successfully.
fi
exit $errors