summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2014-12-16 20:30:12 -0700
committerCraig Earls <enderw88@gmail.com>2014-12-16 20:30:12 -0700
commitb6cef4bc507712427e9c5e83495ba5104679712d (patch)
tree11cdcfd0db422cf6afa18d29e89c2ddc0429e744 /test
parentaf8767c9ab9d55ea1f0d789be9c7bdb73b022057 (diff)
parentacec0782003a3a949cbcc40694ff846015f64202 (diff)
downloadfork-ledger-b6cef4bc507712427e9c5e83495ba5104679712d.tar.gz
fork-ledger-b6cef4bc507712427e9c5e83495ba5104679712d.tar.bz2
fork-ledger-b6cef4bc507712427e9c5e83495ba5104679712d.zip
Merge branch 'master' of https://github.com/ledger/ledger
Diffstat (limited to 'test')
-rw-r--r--test/regress/730.test37
1 files changed, 37 insertions, 0 deletions
diff --git a/test/regress/730.test b/test/regress/730.test
new file mode 100644
index 00000000..d81a1c22
--- /dev/null
+++ b/test/regress/730.test
@@ -0,0 +1,37 @@
+; Using -M in combination with an empty result causes a segmentation fault
+; therefore this test case does not have or need any test data
+
+test -f /dev/null -M reg
+end test
+
+; Tests mentioned in #730
+test reg -M
+end test
+
+test reg -M .foo
+end test
+
+test reg -M -e 2012/01
+end test
+
+
+; Tests mentioned in #1080
+test reg '^Expenses' and expr 'any(account =~ /^Assets:Cash/)' --period 'every week this month'
+end test
+
+test bal '^Expenses' and expr 'any(account =~ /^Assets:Cash/)' --period 'every week this month'
+end test
+
+test bal reg foo and expr 'any(account =~ /bar/)' --period 'every week'
+end test
+
+
+; Tests mentioned in #1084
+test b abc -M
+end test
+
+test reg foo -M
+end test
+
+test bal foo -M
+end test