curl/tests/data/test1706
Viktor Szakats 70d71e8761
tests/data: move section data to external files
To make the test files XML-compliant, and the expected results
possibly easier to manage by keeping them in `.md`, `.html`, `.1`
and `.txt` files.

Non-XML-compliant files are down to 31 (1.6%) after this patch.

Closes #19882
2025-12-09 10:12:49 +01:00

58 lines
1.2 KiB
Text

<testcase>
<info>
<keywords>
script
documentation
managen
</keywords>
</info>
#
# Client-side
<client>
<name>
managen makes ASCII page
</name>
<file name="%LOGDIR/mainpage.idx">
_header.md
%options
_footer.md
</file>
<file1 name="%LOGDIR/_header.md">
%includetext %SRCDIR/data/data%TESTNUMBER-1.md%
</file1>
<file2 name="%LOGDIR/option1.md">
%includetext %SRCDIR/data/data%TESTNUMBER-2.md%
</file2>
<file3 name="%LOGDIR/option2.md">
%includetext %SRCDIR/data/data%TESTNUMBER-3.md%
</file3>
<file4 name="%LOGDIR/_footer.md">
%includetext %SRCDIR/data/data%TESTNUMBER-4.md%
</file4>
<command type="perl">
%SRCDIR/../scripts/managen -I %SRCDIR/../include -d %LOGDIR ascii option1.md option2.md
</command>
</client>
<verify>
<stderr>
option1.md:19:1:WARN: see-also a non-existing option: include
option1.md:19:1:WARN: see-also a non-existing option: silent
option1.md:19:1:WARN: see-also a non-existing option: trace
option1.md:19:1:WARN: see-also a non-existing option: trace-ascii
WARN: option1.md mutexes a non-existing option: trace
WARN: option1.md mutexes a non-existing option: trace-ascii
option2.md:15:1:WARN: see-also a non-existing option: proto-default
</stderr>
<stdout>
%includetext %SRCDIR/data/data%TESTNUMBER-stdout.txt%
</stdout>
</verify>
</testcase>