* For backward compatibility, load of startup and running set CLICON_XML_NS_STRICT to false temporarily.
* Added three-valued return values for several validate functions where -1 is fatal error, 0 is validation failed and 1 is validation OK.
* This includes: `xmldb_put`, `xml_yang_validate_all`, `xml_yang_validate_add`, `xml_yang_validate_rpc`, `api_path2xml`, `api_path2xpath`
* Added new xml functions for specific types: `xml_child_nr_notype`, `xml_child_nr_notype`, `xml_child_i_type`, `xml_find_type`.
This directory contains testing code for clixon and the example
application. Assumes setup of http daemon as describe under apps/restonf
clixon A top-level script clones clixon in /tmp and starts all.sh. You can copy this file (review it first) and place as cron script
all.sh Run through all tests named 'test*.sh' in this directory. Therefore, if you place a test in this directory matching 'test*.sh' it will be run automatically. By default the script will exit on first error. Run as all.sh summary to continue and print a summary on all tests.
test_nacm.sh Auth tests using internal NACM
test_nacm_ext.sh Auth tests using external NACM (separate file)
test_cli.sh CLI tests
test_netconf.sh Netconf tests
test_restconf.sh Restconf tests
test_yang.sh Yang tests for constructs not in the example.
test_leafref.sh Yang leafref tests
test_datastore.sh Datastore tests
Example runs:
> run.sh
# Runs through all tests matching 'test_*.sh' in the directory. Prints test output
# and stops on first error
> run.sh summary
# Same as above but continues after errors and does not print test output.