aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test971
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-05-12 13:29:53 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-05-13 23:58:36 +0200
commitf3f5d82e2854991cd12ad5dcf022e8abbcea7038 (patch)
tree7572226be99517c2d96e5456186fbf08139f320c /tests/data/test971
parent72b1aaf9da73cdf302b774c0190fe97ca05be524 (diff)
docs/options-in-versions: which version added each cmdline option
Added test 971 to verify that the list is in sync with the files in cmdline-opts. The check also verifies that .d-files that uses Added: specify the same version number as the options-in-versions file does. Closes #5381
Diffstat (limited to 'tests/data/test971')
-rw-r--r--tests/data/test97125
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/data/test971 b/tests/data/test971
new file mode 100644
index 000000000..de134e8e6
--- /dev/null
+++ b/tests/data/test971
@@ -0,0 +1,25 @@
+<testcase>
+<info>
+<keywords>
+source analysis
+options-in-versions
+</keywords>
+</info>
+
+#
+# Client-side
+<client>
+<server>
+none
+</server>
+
+ <name>
+Verify that options-in-versions and docs/cmdline-opts are in sync
+ </name>
+
+<command type="perl">
+%SRCDIR/options-scan.pl %SRCDIR/../docs/options-in-versions %SRCDIR/../docs/cmdline-opts
+</command>
+</client>
+
+</testcase>