diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-24 22:11:59 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-24 22:11:59 -0400 |
commit | a364b1d4acd73f187302d9a1a37432a531ef62c5 (patch) | |
tree | cfee76a87f297db2cb43e69cbeaa236688e4b766 /tools/regtest | |
parent | 5a194cbdf4533b337776959fb2a2bb5ebccd35db (diff) | |
download | fork-ledger-a364b1d4acd73f187302d9a1a37432a531ef62c5.tar.gz fork-ledger-a364b1d4acd73f187302d9a1a37432a531ef62c5.tar.bz2 fork-ledger-a364b1d4acd73f187302d9a1a37432a531ef62c5.zip |
Restored the functionality of tools/regtest
Diffstat (limited to 'tools/regtest')
-rwxr-xr-x | tools/regtest | 29 |
1 files changed, 12 insertions, 17 deletions
diff --git a/tools/regtest b/tools/regtest index 6a59c39f..7d28dae7 100755 --- a/tools/regtest +++ b/tools/regtest @@ -2,26 +2,21 @@ errors=0 -if [ ! -f tools/standard.dat ]; then - exit 0 -fi - -for test in \ - "-O nrl:checking" \ - "-O ^expenses" \ - "-B 401" \ - "-V 401" \ - "-G 401" \ - "-B ira" \ - "-V ira" \ - "-G ira" \ - "-B retire" \ - "-V retire" \ - "-G retire" +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 tests/confirm.py $test + python tools/confirm.py "ledger -f tools/standard.dat $test" errors=`expr $errors + $?` done +if [ $errors = 0 ]; then + echo All tests completed successfully. +fi exit $errors |