[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Makefile.tres, tp/t/html_tests.t: add the fi
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/Makefile.tres, tp/t/html_tests.t: add the file_name_case_insensitive_conflict_node and file_name_case_insensitive_conflict_node_no_redirections test to test conflicts with node names differing in case only without and with NODE_FILES. |
Date: |
Mon, 06 Feb 2023 19:08:03 -0500 |
This is an automated email from the git hooks/post-receive script.
pertusus pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new 47b41cf924 * tp/Makefile.tres, tp/t/html_tests.t: add the
file_name_case_insensitive_conflict_node and
file_name_case_insensitive_conflict_node_no_redirections test to test conflicts
with node names differing in case only without and with NODE_FILES.
47b41cf924 is described below
commit 47b41cf924712998f2a56707cd38e2d7c3ac44e3
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Tue Feb 7 01:07:52 2023 +0100
* tp/Makefile.tres, tp/t/html_tests.t: add the
file_name_case_insensitive_conflict_node and
file_name_case_insensitive_conflict_node_no_redirections test to test
conflicts with node names differing in case only without and with
NODE_FILES.
---
ChangeLog | 8 +
tp/Makefile.tres | 4 +
tp/TODO | 7 +-
tp/t/html_tests.t | 36 +
.../file_name_case_insensitive_conflict_node.pl | 800 +++++++++++++++++++++
.../res_html/Bar.html | 43 ++
.../res_html/Foo.html | 52 ++
.../res_html/chap.html | 47 ++
.../res_html/index.html | 48 ++
...se_insensitive_conflict_node_no_redirections.pl | 758 +++++++++++++++++++
.../res_html/Bar.html | 43 ++
.../res_html/Foo.html | 52 ++
.../res_html/chap.html | 47 ++
.../res_html/index.html | 48 ++
14 files changed, 1988 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 5e25b7596d..6f91e33120 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2023-02-06 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Makefile.tres, tp/t/html_tests.t: add the
+ file_name_case_insensitive_conflict_node and
+ file_name_case_insensitive_conflict_node_no_redirections test to test
+ conflicts with node names differing in case only without and with
+ NODE_FILES.
+
2023-02-06 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/XS/parsetexi/parser.c (process_remaining_on_line):
diff --git a/tp/Makefile.tres b/tp/Makefile.tres
index 4263253854..a8d4da3ded 100644
--- a/tp/Makefile.tres
+++ b/tp/Makefile.tres
@@ -558,6 +558,10 @@ test_files_generated_list =
$(test_tap_files_generated_list) \
t/results/html_tests/empty_lines_at_beginning_no_setfilename.pl \
t/results/html_tests/empty_lines_at_beginning_no_setfilename_no_element.pl \
t/results/html_tests/empty_titlefont.pl \
+ t/results/html_tests/file_name_case_insensitive_conflict_node.pl \
+ t/results/html_tests/file_name_case_insensitive_conflict_node/res_html \
+
t/results/html_tests/file_name_case_insensitive_conflict_node_no_redirections.pl
\
+
t/results/html_tests/file_name_case_insensitive_conflict_node_no_redirections/res_html
\
t/results/html_tests/file_name_case_insensitive_conflict_redirections.pl \
t/results/html_tests/file_name_case_insensitive_conflict_redirections/res_html \
t/results/html_tests/file_name_conflict_with_Top.pl \
diff --git a/tp/TODO b/tp/TODO
index 2137e096ca..ec1c1e8014 100644
--- a/tp/TODO
+++ b/tp/TODO
@@ -36,6 +36,8 @@ replaced, elided, elided_block types.
extra->'comment_at_end'
likely in many line commands
+source marks.
+
Other
-----
@@ -146,11 +148,6 @@ as CSS because it is not style, but table or even line
specific formatting.
Missing tests
=============
-Test node files that differ only in case. This may be rather complicated,
-however, as seen in
-https://lists.gnu.org/archive/html/bug-texinfo/2013-02/msg00076.html
-This may be linked to a possible test of CASE_INSENSITIVE_FILENAMES.
-
Unit test of end_line_count for Texinfo/Convert/Paragraph.pm .... containers.
anchor in flushright, on an empty line, with a current byte offset.
diff --git a/tp/t/html_tests.t b/tp/t/html_tests.t
index 409b74aae4..d33b789e68 100644
--- a/tp/t/html_tests.t
+++ b/tp/t/html_tests.t
@@ -692,6 +692,28 @@ In top@footnote{Additional text}.
',{}, {'MONOLITHIC' => 0},],
);
+my $file_name_case_insensitive_conflict_node = '@node Top
+@top top section
+
+@node chap
+@chapter Chapter
+
+@anchor{fOO}
+
+@node Foo
+@section Foo
+
+@node Bar
+@section Bar
+
+@node foo
+@section foo
+
+@xref{foo}
+
+@xref{Foo}
+';
+
my @test_cases_file_text = (
['test_accents_sc_default',
undef, {'test_file' => 'punctuation_small_case_accents_utf8.texi'}],
@@ -793,6 +815,20 @@ my @file_tests = (
@anchor{index}
', {}, {'SPLIT' => 'node'},
],
+# Note that a test with nodes and output files that differ only in case can
+# only be tested with CASE_INSENSITIVE_FILENAMES set, otherwise on case
+# insensitive file systems the tests results would be different from the
+# results on case sensitive file systems. Also the files with names differing
+# by case only would conflict and lead to errors if the reference file results
+# are setup from an archive, or from source version control.
+['file_name_case_insensitive_conflict_node',
+$file_name_case_insensitive_conflict_node,
+{}, {'SPLIT' => 'node', 'CASE_INSENSITIVE_FILENAMES' => 1},
+],
+['file_name_case_insensitive_conflict_node_no_redirections',
+$file_name_case_insensitive_conflict_node,
+{}, {'SPLIT' => 'node', 'NODE_FILES' => 0, 'CASE_INSENSITIVE_FILENAMES' => 1},
+],
['file_name_case_insensitive_conflict_redirections',
'@node Top
@top top section
diff --git
a/tp/t/results/html_tests/file_name_case_insensitive_conflict_node.pl
b/tp/t/results/html_tests/file_name_case_insensitive_conflict_node.pl
new file mode 100644
index 0000000000..b4e91c040c
--- /dev/null
+++ b/tp/t/results/html_tests/file_name_case_insensitive_conflict_node.pl
@@ -0,0 +1,800 @@
+use vars qw(%result_texis %result_texts %result_trees %result_errors
+ %result_indices %result_sectioning %result_nodes %result_menus
+ %result_floats %result_converted %result_converted_errors
+ %result_elements %result_directions_text %result_indices_sort_strings);
+
+use utf8;
+
+$result_trees{'file_name_case_insensitive_conflict_node'} = {
+ 'contents' => [
+ {
+ 'type' => 'before_node_section'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Top'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'Top'
+ }
+ ],
+ 'normalized' => 'Top'
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => ''
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'top section'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'top',
+ 'contents' => [
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {},
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => ''
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'chap'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'chap'
+ }
+ ],
+ 'normalized' => 'chap'
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 4,
+ 'macro' => ''
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Chapter'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'chapter',
+ 'contents' => [
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'fOO'
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'anchor',
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'fOO'
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 7,
+ 'macro' => ''
+ }
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'spaces_after_close_brace'
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {},
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 5,
+ 'macro' => ''
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Foo'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'Foo'
+ }
+ ],
+ 'normalized' => 'Foo'
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 9,
+ 'macro' => ''
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Foo'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'section',
+ 'contents' => [
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {},
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 10,
+ 'macro' => ''
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Bar'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'Bar'
+ }
+ ],
+ 'normalized' => 'Bar'
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 12,
+ 'macro' => ''
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Bar'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'section',
+ 'contents' => [
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {},
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 13,
+ 'macro' => ''
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'foo'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'foo'
+ }
+ ],
+ 'normalized' => 'foo'
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 15,
+ 'macro' => ''
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'foo'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'section',
+ 'contents' => [
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'foo'
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'xref',
+ 'extra' => {
+ 'label' => {},
+ 'node_argument' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'foo'
+ }
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 18,
+ 'macro' => ''
+ }
+ },
+ {
+ 'text' => '
+'
+ }
+ ],
+ 'type' => 'paragraph'
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Foo'
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'xref',
+ 'extra' => {
+ 'label' => {},
+ 'node_argument' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'Foo'
+ }
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 20,
+ 'macro' => ''
+ }
+ },
+ {
+ 'text' => '
+'
+ }
+ ],
+ 'type' => 'paragraph'
+ }
+ ],
+ 'extra' => {},
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 16,
+ 'macro' => ''
+ }
+ }
+ ],
+ 'type' => 'document_root'
+};
+$result_trees{'file_name_case_insensitive_conflict_node'}{'contents'}[1]{'extra'}{'node_content'}[0]
=
$result_trees{'file_name_case_insensitive_conflict_node'}{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'file_name_case_insensitive_conflict_node'}{'contents'}[1]{'extra'}{'nodes_manuals'}[0]{'node_content'}[0]
=
$result_trees{'file_name_case_insensitive_conflict_node'}{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'file_name_case_insensitive_conflict_node'}{'contents'}[3]{'extra'}{'node_content'}[0]
=
$result_trees{'file_name_case_insensitive_conflict_node'}{'contents'}[3]{'args'}[0]{'contents'}[0];
+$result_trees{'file_name_case_insensitive_conflict_node'}{'contents'}[3]{'extra'}{'nodes_manuals'}[0]{'node_content'}[0]
=
$result_trees{'file_name_case_insensitive_conflict_node'}{'contents'}[3]{'args'}[0]{'contents'}[0];
+$result_trees{'file_name_case_insensitive_conflict_node'}{'contents'}[4]{'contents'}[1]{'extra'}{'node_content'}[0]
=
$result_trees{'file_name_case_insensitive_conflict_node'}{'contents'}[4]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'file_name_case_insensitive_conflict_node'}{'contents'}[5]{'extra'}{'node_content'}[0]
=
$result_trees{'file_name_case_insensitive_conflict_node'}{'contents'}[5]{'args'}[0]{'contents'}[0];
+$result_trees{'file_name_case_insensitive_conflict_node'}{'contents'}[5]{'extra'}{'nodes_manuals'}[0]{'node_content'}[0]
=
$result_trees{'file_name_case_insensitive_conflict_node'}{'contents'}[5]{'args'}[0]{'contents'}[0];
+$result_trees{'file_name_case_insensitive_conflict_node'}{'contents'}[7]{'extra'}{'node_content'}[0]
=
$result_trees{'file_name_case_insensitive_conflict_node'}{'contents'}[7]{'args'}[0]{'contents'}[0];
+$result_trees{'file_name_case_insensitive_conflict_node'}{'contents'}[7]{'extra'}{'nodes_manuals'}[0]{'node_content'}[0]
=
$result_trees{'file_name_case_insensitive_conflict_node'}{'contents'}[7]{'args'}[0]{'contents'}[0];
+$result_trees{'file_name_case_insensitive_conflict_node'}{'contents'}[9]{'extra'}{'node_content'}[0]
=
$result_trees{'file_name_case_insensitive_conflict_node'}{'contents'}[9]{'args'}[0]{'contents'}[0];
+$result_trees{'file_name_case_insensitive_conflict_node'}{'contents'}[9]{'extra'}{'nodes_manuals'}[0]{'node_content'}[0]
=
$result_trees{'file_name_case_insensitive_conflict_node'}{'contents'}[9]{'args'}[0]{'contents'}[0];
+$result_trees{'file_name_case_insensitive_conflict_node'}{'contents'}[10]{'contents'}[1]{'contents'}[0]{'extra'}{'label'}
= $result_trees{'file_name_case_insensitive_conflict_node'}{'contents'}[9];
+$result_trees{'file_name_case_insensitive_conflict_node'}{'contents'}[10]{'contents'}[1]{'contents'}[0]{'extra'}{'node_argument'}{'node_content'}[0]
=
$result_trees{'file_name_case_insensitive_conflict_node'}{'contents'}[10]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0];
+$result_trees{'file_name_case_insensitive_conflict_node'}{'contents'}[10]{'contents'}[3]{'contents'}[0]{'extra'}{'label'}
= $result_trees{'file_name_case_insensitive_conflict_node'}{'contents'}[5];
+$result_trees{'file_name_case_insensitive_conflict_node'}{'contents'}[10]{'contents'}[3]{'contents'}[0]{'extra'}{'node_argument'}{'node_content'}[0]
=
$result_trees{'file_name_case_insensitive_conflict_node'}{'contents'}[10]{'contents'}[3]{'contents'}[0]{'args'}[0]{'contents'}[0];
+
+$result_texis{'file_name_case_insensitive_conflict_node'} = '@node Top
+@top top section
+
+@node chap
+@chapter Chapter
+
+@anchor{fOO}
+
+@node Foo
+@section Foo
+
+@node Bar
+@section Bar
+
+@node foo
+@section foo
+
+@xref{foo}
+
+@xref{Foo}
+';
+
+
+$result_texts{'file_name_case_insensitive_conflict_node'} = 'top section
+***********
+
+1 Chapter
+*********
+
+
+1.1 Foo
+=======
+
+1.2 Bar
+=======
+
+1.3 foo
+=======
+
+foo
+
+Foo
+';
+
+$result_sectioning{'file_name_case_insensitive_conflict_node'} = {
+ 'structure' => {
+ 'section_childs' => [
+ {
+ 'cmdname' => 'top',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ },
+ 'info' => {},
+ 'structure' => {}
+ }
+ },
+ 'info' => {},
+ 'structure' => {
+ 'section_childs' => [
+ {
+ 'cmdname' => 'chapter',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'chap'
+ },
+ 'info' => {},
+ 'structure' => {}
+ }
+ },
+ 'info' => {},
+ 'structure' => {
+ 'section_childs' => [
+ {
+ 'cmdname' => 'section',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Foo'
+ },
+ 'info' => {},
+ 'structure' => {}
+ }
+ },
+ 'info' => {},
+ 'structure' => {
+ 'section_level' => 2,
+ 'section_number' => '1.1',
+ 'section_up' => {}
+ }
+ },
+ {
+ 'cmdname' => 'section',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Bar'
+ },
+ 'info' => {},
+ 'structure' => {}
+ }
+ },
+ 'info' => {},
+ 'structure' => {
+ 'section_level' => 2,
+ 'section_number' => '1.2',
+ 'section_prev' => {},
+ 'section_up' => {}
+ }
+ },
+ {
+ 'cmdname' => 'section',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'foo'
+ },
+ 'info' => {},
+ 'structure' => {}
+ }
+ },
+ 'info' => {},
+ 'structure' => {
+ 'section_level' => 2,
+ 'section_number' => '1.3',
+ 'section_prev' => {},
+ 'section_up' => {}
+ }
+ }
+ ],
+ 'section_level' => 1,
+ 'section_number' => 1,
+ 'section_up' => {},
+ 'toplevel_prev' => {},
+ 'toplevel_up' => {}
+ }
+ }
+ ],
+ 'section_level' => 0,
+ 'section_up' => {}
+ }
+ }
+ ],
+ 'section_level' => -1
+ }
+};
+$result_sectioning{'file_name_case_insensitive_conflict_node'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'section_up'}
=
$result_sectioning{'file_name_case_insensitive_conflict_node'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0];
+$result_sectioning{'file_name_case_insensitive_conflict_node'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[1]{'structure'}{'section_prev'}
=
$result_sectioning{'file_name_case_insensitive_conflict_node'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0];
+$result_sectioning{'file_name_case_insensitive_conflict_node'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[1]{'structure'}{'section_up'}
=
$result_sectioning{'file_name_case_insensitive_conflict_node'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0];
+$result_sectioning{'file_name_case_insensitive_conflict_node'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2]{'structure'}{'section_prev'}
=
$result_sectioning{'file_name_case_insensitive_conflict_node'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[1];
+$result_sectioning{'file_name_case_insensitive_conflict_node'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2]{'structure'}{'section_up'}
=
$result_sectioning{'file_name_case_insensitive_conflict_node'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0];
+$result_sectioning{'file_name_case_insensitive_conflict_node'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'section_up'}
=
$result_sectioning{'file_name_case_insensitive_conflict_node'}{'structure'}{'section_childs'}[0];
+$result_sectioning{'file_name_case_insensitive_conflict_node'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'toplevel_prev'}
=
$result_sectioning{'file_name_case_insensitive_conflict_node'}{'structure'}{'section_childs'}[0];
+$result_sectioning{'file_name_case_insensitive_conflict_node'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'toplevel_up'}
=
$result_sectioning{'file_name_case_insensitive_conflict_node'}{'structure'}{'section_childs'}[0];
+$result_sectioning{'file_name_case_insensitive_conflict_node'}{'structure'}{'section_childs'}[0]{'structure'}{'section_up'}
= $result_sectioning{'file_name_case_insensitive_conflict_node'};
+
+$result_nodes{'file_name_case_insensitive_conflict_node'} = {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'associated_section' => {
+ 'cmdname' => 'top',
+ 'extra' => {},
+ 'info' => {},
+ 'structure' => {}
+ },
+ 'normalized' => 'Top'
+ },
+ 'info' => {},
+ 'structure' => {
+ 'node_next' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'associated_section' => {
+ 'cmdname' => 'chapter',
+ 'extra' => {},
+ 'info' => {},
+ 'structure' => {
+ 'section_number' => 1
+ }
+ },
+ 'normalized' => 'chap'
+ },
+ 'info' => {},
+ 'structure' => {
+ 'node_prev' => {},
+ 'node_up' => {}
+ }
+ }
+ }
+};
+$result_nodes{'file_name_case_insensitive_conflict_node'}{'structure'}{'node_next'}{'structure'}{'node_prev'}
= $result_nodes{'file_name_case_insensitive_conflict_node'};
+$result_nodes{'file_name_case_insensitive_conflict_node'}{'structure'}{'node_next'}{'structure'}{'node_up'}
= $result_nodes{'file_name_case_insensitive_conflict_node'};
+
+$result_menus{'file_name_case_insensitive_conflict_node'} = {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ },
+ 'info' => {},
+ 'structure' => {}
+};
+
+$result_errors{'file_name_case_insensitive_conflict_node'} = [];
+
+
+$result_floats{'file_name_case_insensitive_conflict_node'} = {};
+
+
+$result_converted_errors{'file_html'}->{'file_name_case_insensitive_conflict_node'}
= [
+ {
+ 'error_line' => 'warning: @anchor `fOO\' file Foo.html for redirection
exists
+',
+ 'file_name' => '',
+ 'line_nr' => 7,
+ 'macro' => '',
+ 'text' => '@anchor `fOO\' file Foo.html for redirection exists',
+ 'type' => 'warning'
+ },
+ {
+ 'continuation' => 1,
+ 'error_line' => 'warning: conflict with @node `Foo\' file
+',
+ 'file_name' => '',
+ 'line_nr' => 9,
+ 'macro' => '',
+ 'text' => 'conflict with @node `Foo\' file',
+ 'type' => 'warning'
+ },
+ {
+ 'error_line' => 'warning: @node `foo\' file Foo.html for redirection exists
+',
+ 'file_name' => '',
+ 'line_nr' => 15,
+ 'macro' => '',
+ 'text' => '@node `foo\' file Foo.html for redirection exists',
+ 'type' => 'warning'
+ },
+ {
+ 'continuation' => 1,
+ 'error_line' => 'warning: conflict with @node `Foo\' file
+',
+ 'file_name' => '',
+ 'line_nr' => 9,
+ 'macro' => '',
+ 'text' => 'conflict with @node `Foo\' file',
+ 'type' => 'warning'
+ }
+];
+
+
+1;
diff --git
a/tp/t/results/html_tests/file_name_case_insensitive_conflict_node/res_html/Bar.html
b/tp/t/results/html_tests/file_name_case_insensitive_conflict_node/res_html/Bar.html
new file mode 100644
index 0000000000..ebabc873c4
--- /dev/null
+++
b/tp/t/results/html_tests/file_name_case_insensitive_conflict_node/res_html/Bar.html
@@ -0,0 +1,43 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Bar (top section)</title>
+
+<meta name="description" content="Bar (top section)">
+<meta name="keywords" content="Bar (top section)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<link href="index.html" rel="start" title="Top">
+<link href="chap.html" rel="up" title="chap">
+<link href="Foo.html#foo" rel="next" title="foo">
+<link href="Foo.html#Foo" rel="prev" title="Foo">
+<style type="text/css">
+<!--
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+span:hover a.copiable-link {visibility: visible}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+</div>
+<div class="section-level-extent" id="Bar">
+<div class="nav-panel">
+<p>
+Next: <a href="Foo.html#foo" accesskey="n" rel="next">foo</a>, Previous: <a
href="Foo.html#Foo" accesskey="p" rel="prev">Foo</a>, Up: <a href="chap.html"
accesskey="u" rel="up">Chapter</a> </p>
+</div>
+<hr>
+<h3 class="section" id="Bar-1"><span>1.2 Bar<a class="copiable-link"
href="#Bar-1"> ¶</a></span></h3>
+
+</div>
+
+
+
+</body>
+</html>
diff --git
a/tp/t/results/html_tests/file_name_case_insensitive_conflict_node/res_html/Foo.html
b/tp/t/results/html_tests/file_name_case_insensitive_conflict_node/res_html/Foo.html
new file mode 100644
index 0000000000..4d05375cb2
--- /dev/null
+++
b/tp/t/results/html_tests/file_name_case_insensitive_conflict_node/res_html/Foo.html
@@ -0,0 +1,52 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Foo (top section)</title>
+
+<meta name="description" content="Foo (top section)">
+<meta name="keywords" content="Foo (top section)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<link href="index.html" rel="start" title="Top">
+<link href="chap.html" rel="up" title="chap">
+<link href="Bar.html" rel="next" title="Bar">
+<style type="text/css">
+<!--
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+span:hover a.copiable-link {visibility: visible}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+<div class="section-level-extent" id="Foo">
+<div class="nav-panel">
+<p>
+Next: <a href="Bar.html" accesskey="n" rel="next">Bar</a>, Up: <a
href="chap.html" accesskey="u" rel="up">Chapter</a> </p>
+</div>
+<hr>
+<h3 class="section" id="Foo-1"><span>1.1 Foo<a class="copiable-link"
href="#Foo-1"> ¶</a></span></h3>
+
+<hr>
+<div class="section-level-extent" id="foo">
+<div class="nav-panel">
+<p>
+Previous: <a href="Bar.html" accesskey="p" rel="prev">Bar</a>, Up: <a
href="chap.html" accesskey="u" rel="up">Chapter</a> </p>
+</div>
+<h3 class="section" id="foo-1"><span>1.3 foo<a class="copiable-link"
href="#foo-1"> ¶</a></span></h3>
+
+<p>See <a class="xref" href="#foo">foo</a>
+</p>
+<p>See <a class="xref" href="#Foo">Foo</a>
+</p></div>
+
+
+
+</body>
+</html>
diff --git
a/tp/t/results/html_tests/file_name_case_insensitive_conflict_node/res_html/chap.html
b/tp/t/results/html_tests/file_name_case_insensitive_conflict_node/res_html/chap.html
new file mode 100644
index 0000000000..188e4dc966
--- /dev/null
+++
b/tp/t/results/html_tests/file_name_case_insensitive_conflict_node/res_html/chap.html
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>chap (top section)</title>
+
+<meta name="description" content="chap (top section)">
+<meta name="keywords" content="chap (top section)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<link href="index.html" rel="start" title="Top">
+<link href="index.html" rel="up" title="Top">
+<link href="index.html" rel="prev" title="Top">
+<style type="text/css">
+<!--
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+span:hover a.copiable-link {visibility: visible}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+<div class="chapter-level-extent" id="chap">
+<div class="nav-panel">
+<p>
+Previous: <a href="index.html" accesskey="p" rel="prev">top section</a>, Up:
<a href="index.html" accesskey="u" rel="up">top section</a> </p>
+</div>
+<hr>
+<h2 class="chapter" id="Chapter"><span>1 Chapter<a class="copiable-link"
href="#Chapter"> ¶</a></span></h2>
+
+<a class="anchor" id="fOO"></a>
+<ul class="mini-toc">
+<li><a href="Foo.html#Foo" accesskey="1">Foo</a></li>
+<li><a href="Bar.html" accesskey="2">Bar</a></li>
+<li><a href="Foo.html#foo" accesskey="3">foo</a></li>
+</ul>
+</div>
+
+
+
+</body>
+</html>
diff --git
a/tp/t/results/html_tests/file_name_case_insensitive_conflict_node/res_html/index.html
b/tp/t/results/html_tests/file_name_case_insensitive_conflict_node/res_html/index.html
new file mode 100644
index 0000000000..3dc3441bce
--- /dev/null
+++
b/tp/t/results/html_tests/file_name_case_insensitive_conflict_node/res_html/index.html
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Top (top section)</title>
+
+<meta name="description" content="Top (top section)">
+<meta name="keywords" content="Top (top section)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<link href="#Top" rel="start" title="Top">
+<link href="chap.html" rel="next" title="chap">
+<style type="text/css">
+<!--
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+span:hover a.copiable-link {visibility: visible}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+<div class="top-level-extent" id="Top">
+<div class="nav-panel">
+<p>
+Next: <a href="chap.html" accesskey="n" rel="next">Chapter</a> </p>
+</div>
+<hr>
+<h1 class="top" id="top-section"><span>top section<a class="copiable-link"
href="#top-section"> ¶</a></span></h1>
+
+<ul class="mini-toc">
+<li><a href="chap.html" accesskey="1">Chapter</a></li>
+</ul>
+</div>
+<hr>
+<div class="nav-panel">
+<p>
+Next: <a href="chap.html" accesskey="n" rel="next">Chapter</a> </p>
+</div>
+
+
+
+</body>
+</html>
diff --git
a/tp/t/results/html_tests/file_name_case_insensitive_conflict_node_no_redirections.pl
b/tp/t/results/html_tests/file_name_case_insensitive_conflict_node_no_redirections.pl
new file mode 100644
index 0000000000..f28d949d1a
--- /dev/null
+++
b/tp/t/results/html_tests/file_name_case_insensitive_conflict_node_no_redirections.pl
@@ -0,0 +1,758 @@
+use vars qw(%result_texis %result_texts %result_trees %result_errors
+ %result_indices %result_sectioning %result_nodes %result_menus
+ %result_floats %result_converted %result_converted_errors
+ %result_elements %result_directions_text %result_indices_sort_strings);
+
+use utf8;
+
+$result_trees{'file_name_case_insensitive_conflict_node_no_redirections'} = {
+ 'contents' => [
+ {
+ 'type' => 'before_node_section'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Top'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'Top'
+ }
+ ],
+ 'normalized' => 'Top'
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => ''
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'top section'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'top',
+ 'contents' => [
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {},
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => ''
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'chap'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'chap'
+ }
+ ],
+ 'normalized' => 'chap'
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 4,
+ 'macro' => ''
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Chapter'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'chapter',
+ 'contents' => [
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'fOO'
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'anchor',
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'fOO'
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 7,
+ 'macro' => ''
+ }
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'spaces_after_close_brace'
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {},
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 5,
+ 'macro' => ''
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Foo'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'Foo'
+ }
+ ],
+ 'normalized' => 'Foo'
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 9,
+ 'macro' => ''
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Foo'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'section',
+ 'contents' => [
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {},
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 10,
+ 'macro' => ''
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Bar'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'Bar'
+ }
+ ],
+ 'normalized' => 'Bar'
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 12,
+ 'macro' => ''
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Bar'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'section',
+ 'contents' => [
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {},
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 13,
+ 'macro' => ''
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'foo'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'foo'
+ }
+ ],
+ 'normalized' => 'foo'
+ },
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 15,
+ 'macro' => ''
+ }
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'foo'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'section',
+ 'contents' => [
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'foo'
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'xref',
+ 'extra' => {
+ 'label' => {},
+ 'node_argument' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'foo'
+ }
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 18,
+ 'macro' => ''
+ }
+ },
+ {
+ 'text' => '
+'
+ }
+ ],
+ 'type' => 'paragraph'
+ },
+ {
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => 'Foo'
+ }
+ ],
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'xref',
+ 'extra' => {
+ 'label' => {},
+ 'node_argument' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'Foo'
+ }
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 20,
+ 'macro' => ''
+ }
+ },
+ {
+ 'text' => '
+'
+ }
+ ],
+ 'type' => 'paragraph'
+ }
+ ],
+ 'extra' => {},
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 16,
+ 'macro' => ''
+ }
+ }
+ ],
+ 'type' => 'document_root'
+};
+$result_trees{'file_name_case_insensitive_conflict_node_no_redirections'}{'contents'}[1]{'extra'}{'node_content'}[0]
=
$result_trees{'file_name_case_insensitive_conflict_node_no_redirections'}{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'file_name_case_insensitive_conflict_node_no_redirections'}{'contents'}[1]{'extra'}{'nodes_manuals'}[0]{'node_content'}[0]
=
$result_trees{'file_name_case_insensitive_conflict_node_no_redirections'}{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'file_name_case_insensitive_conflict_node_no_redirections'}{'contents'}[3]{'extra'}{'node_content'}[0]
=
$result_trees{'file_name_case_insensitive_conflict_node_no_redirections'}{'contents'}[3]{'args'}[0]{'contents'}[0];
+$result_trees{'file_name_case_insensitive_conflict_node_no_redirections'}{'contents'}[3]{'extra'}{'nodes_manuals'}[0]{'node_content'}[0]
=
$result_trees{'file_name_case_insensitive_conflict_node_no_redirections'}{'contents'}[3]{'args'}[0]{'contents'}[0];
+$result_trees{'file_name_case_insensitive_conflict_node_no_redirections'}{'contents'}[4]{'contents'}[1]{'extra'}{'node_content'}[0]
=
$result_trees{'file_name_case_insensitive_conflict_node_no_redirections'}{'contents'}[4]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'file_name_case_insensitive_conflict_node_no_redirections'}{'contents'}[5]{'extra'}{'node_content'}[0]
=
$result_trees{'file_name_case_insensitive_conflict_node_no_redirections'}{'contents'}[5]{'args'}[0]{'contents'}[0];
+$result_trees{'file_name_case_insensitive_conflict_node_no_redirections'}{'contents'}[5]{'extra'}{'nodes_manuals'}[0]{'node_content'}[0]
=
$result_trees{'file_name_case_insensitive_conflict_node_no_redirections'}{'contents'}[5]{'args'}[0]{'contents'}[0];
+$result_trees{'file_name_case_insensitive_conflict_node_no_redirections'}{'contents'}[7]{'extra'}{'node_content'}[0]
=
$result_trees{'file_name_case_insensitive_conflict_node_no_redirections'}{'contents'}[7]{'args'}[0]{'contents'}[0];
+$result_trees{'file_name_case_insensitive_conflict_node_no_redirections'}{'contents'}[7]{'extra'}{'nodes_manuals'}[0]{'node_content'}[0]
=
$result_trees{'file_name_case_insensitive_conflict_node_no_redirections'}{'contents'}[7]{'args'}[0]{'contents'}[0];
+$result_trees{'file_name_case_insensitive_conflict_node_no_redirections'}{'contents'}[9]{'extra'}{'node_content'}[0]
=
$result_trees{'file_name_case_insensitive_conflict_node_no_redirections'}{'contents'}[9]{'args'}[0]{'contents'}[0];
+$result_trees{'file_name_case_insensitive_conflict_node_no_redirections'}{'contents'}[9]{'extra'}{'nodes_manuals'}[0]{'node_content'}[0]
=
$result_trees{'file_name_case_insensitive_conflict_node_no_redirections'}{'contents'}[9]{'args'}[0]{'contents'}[0];
+$result_trees{'file_name_case_insensitive_conflict_node_no_redirections'}{'contents'}[10]{'contents'}[1]{'contents'}[0]{'extra'}{'label'}
=
$result_trees{'file_name_case_insensitive_conflict_node_no_redirections'}{'contents'}[9];
+$result_trees{'file_name_case_insensitive_conflict_node_no_redirections'}{'contents'}[10]{'contents'}[1]{'contents'}[0]{'extra'}{'node_argument'}{'node_content'}[0]
=
$result_trees{'file_name_case_insensitive_conflict_node_no_redirections'}{'contents'}[10]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0];
+$result_trees{'file_name_case_insensitive_conflict_node_no_redirections'}{'contents'}[10]{'contents'}[3]{'contents'}[0]{'extra'}{'label'}
=
$result_trees{'file_name_case_insensitive_conflict_node_no_redirections'}{'contents'}[5];
+$result_trees{'file_name_case_insensitive_conflict_node_no_redirections'}{'contents'}[10]{'contents'}[3]{'contents'}[0]{'extra'}{'node_argument'}{'node_content'}[0]
=
$result_trees{'file_name_case_insensitive_conflict_node_no_redirections'}{'contents'}[10]{'contents'}[3]{'contents'}[0]{'args'}[0]{'contents'}[0];
+
+$result_texis{'file_name_case_insensitive_conflict_node_no_redirections'} =
'@node Top
+@top top section
+
+@node chap
+@chapter Chapter
+
+@anchor{fOO}
+
+@node Foo
+@section Foo
+
+@node Bar
+@section Bar
+
+@node foo
+@section foo
+
+@xref{foo}
+
+@xref{Foo}
+';
+
+
+$result_texts{'file_name_case_insensitive_conflict_node_no_redirections'} =
'top section
+***********
+
+1 Chapter
+*********
+
+
+1.1 Foo
+=======
+
+1.2 Bar
+=======
+
+1.3 foo
+=======
+
+foo
+
+Foo
+';
+
+$result_sectioning{'file_name_case_insensitive_conflict_node_no_redirections'}
= {
+ 'structure' => {
+ 'section_childs' => [
+ {
+ 'cmdname' => 'top',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ },
+ 'info' => {},
+ 'structure' => {}
+ }
+ },
+ 'info' => {},
+ 'structure' => {
+ 'section_childs' => [
+ {
+ 'cmdname' => 'chapter',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'chap'
+ },
+ 'info' => {},
+ 'structure' => {}
+ }
+ },
+ 'info' => {},
+ 'structure' => {
+ 'section_childs' => [
+ {
+ 'cmdname' => 'section',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Foo'
+ },
+ 'info' => {},
+ 'structure' => {}
+ }
+ },
+ 'info' => {},
+ 'structure' => {
+ 'section_level' => 2,
+ 'section_number' => '1.1',
+ 'section_up' => {}
+ }
+ },
+ {
+ 'cmdname' => 'section',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Bar'
+ },
+ 'info' => {},
+ 'structure' => {}
+ }
+ },
+ 'info' => {},
+ 'structure' => {
+ 'section_level' => 2,
+ 'section_number' => '1.2',
+ 'section_prev' => {},
+ 'section_up' => {}
+ }
+ },
+ {
+ 'cmdname' => 'section',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'foo'
+ },
+ 'info' => {},
+ 'structure' => {}
+ }
+ },
+ 'info' => {},
+ 'structure' => {
+ 'section_level' => 2,
+ 'section_number' => '1.3',
+ 'section_prev' => {},
+ 'section_up' => {}
+ }
+ }
+ ],
+ 'section_level' => 1,
+ 'section_number' => 1,
+ 'section_up' => {},
+ 'toplevel_prev' => {},
+ 'toplevel_up' => {}
+ }
+ }
+ ],
+ 'section_level' => 0,
+ 'section_up' => {}
+ }
+ }
+ ],
+ 'section_level' => -1
+ }
+};
+$result_sectioning{'file_name_case_insensitive_conflict_node_no_redirections'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'section_up'}
=
$result_sectioning{'file_name_case_insensitive_conflict_node_no_redirections'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0];
+$result_sectioning{'file_name_case_insensitive_conflict_node_no_redirections'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[1]{'structure'}{'section_prev'}
=
$result_sectioning{'file_name_case_insensitive_conflict_node_no_redirections'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0];
+$result_sectioning{'file_name_case_insensitive_conflict_node_no_redirections'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[1]{'structure'}{'section_up'}
=
$result_sectioning{'file_name_case_insensitive_conflict_node_no_redirections'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0];
+$result_sectioning{'file_name_case_insensitive_conflict_node_no_redirections'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2]{'structure'}{'section_prev'}
=
$result_sectioning{'file_name_case_insensitive_conflict_node_no_redirections'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[1];
+$result_sectioning{'file_name_case_insensitive_conflict_node_no_redirections'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[2]{'structure'}{'section_up'}
=
$result_sectioning{'file_name_case_insensitive_conflict_node_no_redirections'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0];
+$result_sectioning{'file_name_case_insensitive_conflict_node_no_redirections'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'section_up'}
=
$result_sectioning{'file_name_case_insensitive_conflict_node_no_redirections'}{'structure'}{'section_childs'}[0];
+$result_sectioning{'file_name_case_insensitive_conflict_node_no_redirections'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'toplevel_prev'}
=
$result_sectioning{'file_name_case_insensitive_conflict_node_no_redirections'}{'structure'}{'section_childs'}[0];
+$result_sectioning{'file_name_case_insensitive_conflict_node_no_redirections'}{'structure'}{'section_childs'}[0]{'structure'}{'section_childs'}[0]{'structure'}{'toplevel_up'}
=
$result_sectioning{'file_name_case_insensitive_conflict_node_no_redirections'}{'structure'}{'section_childs'}[0];
+$result_sectioning{'file_name_case_insensitive_conflict_node_no_redirections'}{'structure'}{'section_childs'}[0]{'structure'}{'section_up'}
=
$result_sectioning{'file_name_case_insensitive_conflict_node_no_redirections'};
+
+$result_nodes{'file_name_case_insensitive_conflict_node_no_redirections'} = {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'associated_section' => {
+ 'cmdname' => 'top',
+ 'extra' => {},
+ 'info' => {},
+ 'structure' => {}
+ },
+ 'normalized' => 'Top'
+ },
+ 'info' => {},
+ 'structure' => {
+ 'node_next' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'associated_section' => {
+ 'cmdname' => 'chapter',
+ 'extra' => {},
+ 'info' => {},
+ 'structure' => {
+ 'section_number' => 1
+ }
+ },
+ 'normalized' => 'chap'
+ },
+ 'info' => {},
+ 'structure' => {
+ 'node_prev' => {},
+ 'node_up' => {}
+ }
+ }
+ }
+};
+$result_nodes{'file_name_case_insensitive_conflict_node_no_redirections'}{'structure'}{'node_next'}{'structure'}{'node_prev'}
= $result_nodes{'file_name_case_insensitive_conflict_node_no_redirections'};
+$result_nodes{'file_name_case_insensitive_conflict_node_no_redirections'}{'structure'}{'node_next'}{'structure'}{'node_up'}
= $result_nodes{'file_name_case_insensitive_conflict_node_no_redirections'};
+
+$result_menus{'file_name_case_insensitive_conflict_node_no_redirections'} = {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ },
+ 'info' => {},
+ 'structure' => {}
+};
+
+$result_errors{'file_name_case_insensitive_conflict_node_no_redirections'} =
[];
+
+
+$result_floats{'file_name_case_insensitive_conflict_node_no_redirections'} =
{};
+
+
+1;
diff --git
a/tp/t/results/html_tests/file_name_case_insensitive_conflict_node_no_redirections/res_html/Bar.html
b/tp/t/results/html_tests/file_name_case_insensitive_conflict_node_no_redirections/res_html/Bar.html
new file mode 100644
index 0000000000..ebabc873c4
--- /dev/null
+++
b/tp/t/results/html_tests/file_name_case_insensitive_conflict_node_no_redirections/res_html/Bar.html
@@ -0,0 +1,43 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Bar (top section)</title>
+
+<meta name="description" content="Bar (top section)">
+<meta name="keywords" content="Bar (top section)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<link href="index.html" rel="start" title="Top">
+<link href="chap.html" rel="up" title="chap">
+<link href="Foo.html#foo" rel="next" title="foo">
+<link href="Foo.html#Foo" rel="prev" title="Foo">
+<style type="text/css">
+<!--
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+span:hover a.copiable-link {visibility: visible}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+</div>
+<div class="section-level-extent" id="Bar">
+<div class="nav-panel">
+<p>
+Next: <a href="Foo.html#foo" accesskey="n" rel="next">foo</a>, Previous: <a
href="Foo.html#Foo" accesskey="p" rel="prev">Foo</a>, Up: <a href="chap.html"
accesskey="u" rel="up">Chapter</a> </p>
+</div>
+<hr>
+<h3 class="section" id="Bar-1"><span>1.2 Bar<a class="copiable-link"
href="#Bar-1"> ¶</a></span></h3>
+
+</div>
+
+
+
+</body>
+</html>
diff --git
a/tp/t/results/html_tests/file_name_case_insensitive_conflict_node_no_redirections/res_html/Foo.html
b/tp/t/results/html_tests/file_name_case_insensitive_conflict_node_no_redirections/res_html/Foo.html
new file mode 100644
index 0000000000..4d05375cb2
--- /dev/null
+++
b/tp/t/results/html_tests/file_name_case_insensitive_conflict_node_no_redirections/res_html/Foo.html
@@ -0,0 +1,52 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Foo (top section)</title>
+
+<meta name="description" content="Foo (top section)">
+<meta name="keywords" content="Foo (top section)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<link href="index.html" rel="start" title="Top">
+<link href="chap.html" rel="up" title="chap">
+<link href="Bar.html" rel="next" title="Bar">
+<style type="text/css">
+<!--
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+span:hover a.copiable-link {visibility: visible}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+<div class="section-level-extent" id="Foo">
+<div class="nav-panel">
+<p>
+Next: <a href="Bar.html" accesskey="n" rel="next">Bar</a>, Up: <a
href="chap.html" accesskey="u" rel="up">Chapter</a> </p>
+</div>
+<hr>
+<h3 class="section" id="Foo-1"><span>1.1 Foo<a class="copiable-link"
href="#Foo-1"> ¶</a></span></h3>
+
+<hr>
+<div class="section-level-extent" id="foo">
+<div class="nav-panel">
+<p>
+Previous: <a href="Bar.html" accesskey="p" rel="prev">Bar</a>, Up: <a
href="chap.html" accesskey="u" rel="up">Chapter</a> </p>
+</div>
+<h3 class="section" id="foo-1"><span>1.3 foo<a class="copiable-link"
href="#foo-1"> ¶</a></span></h3>
+
+<p>See <a class="xref" href="#foo">foo</a>
+</p>
+<p>See <a class="xref" href="#Foo">Foo</a>
+</p></div>
+
+
+
+</body>
+</html>
diff --git
a/tp/t/results/html_tests/file_name_case_insensitive_conflict_node_no_redirections/res_html/chap.html
b/tp/t/results/html_tests/file_name_case_insensitive_conflict_node_no_redirections/res_html/chap.html
new file mode 100644
index 0000000000..188e4dc966
--- /dev/null
+++
b/tp/t/results/html_tests/file_name_case_insensitive_conflict_node_no_redirections/res_html/chap.html
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>chap (top section)</title>
+
+<meta name="description" content="chap (top section)">
+<meta name="keywords" content="chap (top section)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<link href="index.html" rel="start" title="Top">
+<link href="index.html" rel="up" title="Top">
+<link href="index.html" rel="prev" title="Top">
+<style type="text/css">
+<!--
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+span:hover a.copiable-link {visibility: visible}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+<div class="chapter-level-extent" id="chap">
+<div class="nav-panel">
+<p>
+Previous: <a href="index.html" accesskey="p" rel="prev">top section</a>, Up:
<a href="index.html" accesskey="u" rel="up">top section</a> </p>
+</div>
+<hr>
+<h2 class="chapter" id="Chapter"><span>1 Chapter<a class="copiable-link"
href="#Chapter"> ¶</a></span></h2>
+
+<a class="anchor" id="fOO"></a>
+<ul class="mini-toc">
+<li><a href="Foo.html#Foo" accesskey="1">Foo</a></li>
+<li><a href="Bar.html" accesskey="2">Bar</a></li>
+<li><a href="Foo.html#foo" accesskey="3">foo</a></li>
+</ul>
+</div>
+
+
+
+</body>
+</html>
diff --git
a/tp/t/results/html_tests/file_name_case_insensitive_conflict_node_no_redirections/res_html/index.html
b/tp/t/results/html_tests/file_name_case_insensitive_conflict_node_no_redirections/res_html/index.html
new file mode 100644
index 0000000000..3dc3441bce
--- /dev/null
+++
b/tp/t/results/html_tests/file_name_case_insensitive_conflict_node_no_redirections/res_html/index.html
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Top (top section)</title>
+
+<meta name="description" content="Top (top section)">
+<meta name="keywords" content="Top (top section)">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<link href="#Top" rel="start" title="Top">
+<link href="chap.html" rel="next" title="chap">
+<style type="text/css">
+<!--
+a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
+span:hover a.copiable-link {visibility: visible}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+<div class="top-level-extent" id="Top">
+<div class="nav-panel">
+<p>
+Next: <a href="chap.html" accesskey="n" rel="next">Chapter</a> </p>
+</div>
+<hr>
+<h1 class="top" id="top-section"><span>top section<a class="copiable-link"
href="#top-section"> ¶</a></span></h1>
+
+<ul class="mini-toc">
+<li><a href="chap.html" accesskey="1">Chapter</a></li>
+</ul>
+</div>
+<hr>
+<div class="nav-panel">
+<p>
+Next: <a href="chap.html" accesskey="n" rel="next">Chapter</a> </p>
+</div>
+
+
+
+</body>
+</html>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Makefile.tres, tp/t/html_tests.t: add the file_name_case_insensitive_conflict_node and file_name_case_insensitive_conflict_node_no_redirections test to test conflicts with node names differing in case only without and with NODE_FILES.,
Patrice Dumas <=