summaryrefslogtreecommitdiff
path: root/test/regress/755.test
blob: 9581debc6258622f328ed585674f0328d1d1cf0c (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90

; Test backwards compatibility with ledger2

--date-format %Y/%m/%d

2009-04-17 * Test 1
    A                     10.00 EUR
    B

2009-04-18=2010-04-20 (110) Test 2
    * C                   20.00 EUR ;foo
    * B

test -F "%a\n" reg
A
B
C
B
end test

test -F "%A\n" reg
A
B
C
B
end test

test -F "%d\n" reg
2009/04/17
2009/04/17
2009/04/18=2010/04/20
2009/04/18=2010/04/20
end test

test -F "%D\n" reg
2009/04/17
2009/04/17
2009/04/18
2009/04/18
end test

test -F "%S\n" reg
$FILE
$FILE
$FILE
$FILE
end test

test -F "%b\n" reg
7
8
11
12
end test

test -F "%B\n" reg
90
126
168
209
end test

test -F "%X%P\n" reg
* Test 1
* Test 1
* Test 2
* Test 2
end test

test -F "%Y%P\n" reg
* Test 1
* Test 1
Test 2
Test 2
end test

test -F "%C%P\n" reg
Test 1
Test 1
(110) Test 2
(110) Test 2
end test

test -F "%N\n" reg


foo

end test