summaryrefslogtreecommitdiff
path: root/test/regress/730.test
blob: d81a1c22e9f51c4615c7915124f349054691f835 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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