New test (due to bug 613480).
authorPeter Verthez <Peter.Verthez@advalvas.be>
Wed, 30 Oct 2002 18:15:51 +0000 (18:15 +0000)
committerPeter Verthez <Peter.Verthez@advalvas.be>
Wed, 30 Oct 2002 18:15:51 +0000 (18:15 +0000)
t/input/line_nr.ged [new file with mode: 0644]
t/line_nr.test [new file with mode: 0755]
t/output/line_nr.ref [new file with mode: 0644]

diff --git a/t/input/line_nr.ged b/t/input/line_nr.ged
new file mode 100644 (file)
index 0000000..2c7cced
--- /dev/null
@@ -0,0 +1,10 @@
+0 HEAD
+1 CHAR ASCII
+1 SOUR APPROVED_SOURCE_NAME
+1 SUBM
+1 GEDC
+2 VERS 5.5
+2 FORM LINEAGE-LINKED
+0 @SUBMITTER@ SUBM
+1 NAME Peter /Verthez/
+0 TRLR
diff --git a/t/line_nr.test b/t/line_nr.test
new file mode 100755 (executable)
index 0000000..3388563
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+$srcdir/src/test_script -2 line_nr.ged line_nr 1
diff --git a/t/output/line_nr.ref b/t/output/line_nr.ref
new file mode 100644 (file)
index 0000000..8026ca6
--- /dev/null
@@ -0,0 +1,19 @@
+
+=== Parsing file line_nr.ged
+Header start
+== 1 CHAR (292) ASCII (ctxt is 1, conversion failures: 0)
+Source is APPROVED_SOURCE_NAME (ctxt is 1001, parent is 1)
+Source context 1001 in parent 1
+ERROR: Error on line 4: Missing pointer
+
+=== Total conversion failures: 0
+
+=== Parsing file line_nr.ged
+Header start
+== 1 CHAR (292) ASCII (ctxt is 1, conversion failures: 0)
+Source is APPROVED_SOURCE_NAME (ctxt is 1001, parent is 1)
+Source context 1001 in parent 1
+ERROR: Error on line 4: Missing pointer
+
+=== Total conversion failures: 0
+Parse failed