curl/tests/data/test1478
Daniel Stenberg 0f1bb61e86
test1478: verify src/tool_listhelp.c
Verify that the source file on disk is identical to the output of gen.pl
listhelp, as otherwise they are out of sync and need attention.

Closes #12612
2024-01-02 08:44:10 +01:00

33 lines
433 B
Plaintext

<testcase>
<info>
<keywords>
source analysis
documentation
--help
</keywords>
</info>
#
# Client-side
<client>
<server>
none
</server>
<name>
src/tool_listhelp.c is in sync with docs/cmdline-opts
</name>
<command type="perl">
%SRCDIR/../docs/cmdline-opts/gen.pl listhelp %SRCDIR/../docs/cmdline-opts/*.d
</command>
</client>
<verify>
<stdout mode="text">
%include %SRCDIR/../src/tool_listhelp.c%
</stdout>
</verify>
</testcase>