osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/16404 )
Change subject: tests: add second VTY reference ...................................................................... tests: add second VTY reference Related: OS#4292 Change-Id: I2f0170e14febc68c0122062358f362003a2e3e5e --- M tests/Makefile.am A tests/test2-vty-reference.xml A tests/vty-test2/test2_vty_additions.xml A tests/vty-test2/test2_vty_reference.xml 4 files changed, 58 insertions(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-manuals refs/changes/04/16404/1 diff --git a/tests/Makefile.am b/tests/Makefile.am index 6eba2c5..eb307b2 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -26,7 +26,7 @@ include $(OSMO_GSM_MANUALS_DIR)/build/Makefile.asciidoc.inc -VTY_REFERENCE = test-vty-reference.xml +VTY_REFERENCE = test-vty-reference.xml test2-vty-reference.xml include $(OSMO_GSM_MANUALS_DIR)/build/Makefile.vty-reference.inc include $(OSMO_GSM_MANUALS_DIR)/build/Makefile.common.inc diff --git a/tests/test2-vty-reference.xml b/tests/test2-vty-reference.xml new file mode 100644 index 0000000..b8fea23 --- /dev/null +++ b/tests/test2-vty-reference.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + ex:ts=2:sw=42sts=2:et + -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- +--> +<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML 5.0//EN" +"http://docbook.org/xml/5.0/dtd/docbook.dtd" [ +<!ENTITY chapter-vty SYSTEM "./common/chapters/vty.xml" > +<!ENTITY sections-vty SYSTEM "generated/docbook_test2-vty-reference.xml" > +]> + +<book> + <info> + <revhistory> + <revision> + <revnumber>v1</revnumber> + <date>2nd December 2019</date> + <authorinitials>os</authorinitials> + <revremark>Initial</revremark> + </revision> + </revhistory> + + <title>Test VTY Reference No. 2</title> + + <copyright> + <year>2019</year> + </copyright> + + <legalnotice> + <para>This work is copyrighted by <orgname>sysmocom - s.f.m.c. GmbH</orgname>. All rights reserved. + </para> + </legalnotice> + </info> + + <!-- Main chapters--> + &chapter-vty; +</book> + diff --git a/tests/vty-test2/test2_vty_additions.xml b/tests/vty-test2/test2_vty_additions.xml new file mode 100644 index 0000000..a4c675e --- /dev/null +++ b/tests/vty-test2/test2_vty_additions.xml @@ -0,0 +1,2 @@ +<vtydoc xmlns='urn:osmocom:xml:libosmocore:vty:doc:1.0'> +</vtydoc> diff --git a/tests/vty-test2/test2_vty_reference.xml b/tests/vty-test2/test2_vty_reference.xml new file mode 100644 index 0000000..e5674e7 --- /dev/null +++ b/tests/vty-test2/test2_vty_reference.xml @@ -0,0 +1,17 @@ +<vtydoc xmlns='urn:osmocom:xml:libosmocore:vty:doc:1.0'> + <node id='_common_cmds_'> + <name>Common Commands</name> + <description>These commands are available on all VTY nodes. They are listed here only once, to unclutter the VTY reference.</description> + <command id='help'> + <params> + <param name='help' doc='Description of the interactive help system' /> + </params> + </command> + <command id='list'> + <params> + <param name='list' doc='Print command list' /> + </params> + </command> + <!-- (...) --> + </node> +</vtydoc> -- To view, visit https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/16404 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-gsm-manuals Gerrit-Branch: master Gerrit-Change-Id: I2f0170e14febc68c0122062358f362003a2e3e5e Gerrit-Change-Number: 16404 Gerrit-PatchSet: 1 Gerrit-Owner: osmith <osm...@sysmocom.de> Gerrit-MessageType: newchange