summaryrefslogtreecommitdiff
path: root/test/baseline
diff options
context:
space:
mode:
Diffstat (limited to 'test/baseline')
-rw-r--r--test/baseline/opt-file.test12
-rw-r--r--test/baseline/opt-file1.dat4
-rw-r--r--test/baseline/opt-file2.dat4
3 files changed, 20 insertions, 0 deletions
diff --git a/test/baseline/opt-file.test b/test/baseline/opt-file.test
new file mode 100644
index 00000000..e01d929d
--- /dev/null
+++ b/test/baseline/opt-file.test
@@ -0,0 +1,12 @@
+test -f opt-file-does-not-exist.dat bal -> 1
+__ERROR__
+Error: Cannot read journal file "opt-file-does-not-exist.dat"
+end test
+
+test -f test/baseline/opt-file1.dat -f test/baseline/opt-file2.dat bal
+ 10 A
+ -10 C
+--------------------
+ 0
+end test
+
diff --git a/test/baseline/opt-file1.dat b/test/baseline/opt-file1.dat
new file mode 100644
index 00000000..394882cd
--- /dev/null
+++ b/test/baseline/opt-file1.dat
@@ -0,0 +1,4 @@
+2012-03-22 * Test 1
+ A 10.00
+ B
+
diff --git a/test/baseline/opt-file2.dat b/test/baseline/opt-file2.dat
new file mode 100644
index 00000000..569993f8
--- /dev/null
+++ b/test/baseline/opt-file2.dat
@@ -0,0 +1,4 @@
+2012-03-22 * Test 2
+ B 10.00
+ C
+