clixon/test
Olof hagsand ac1aa44fc4 * Yang Configure options changed
* `CLICON_YANG_DIR` is changed from a single directory to a path of directories
    * Note CLIXON_DATADIR (=/usr/local/share/clixon) need to be in the list
  * CLICON_YANG_MAIN_FILE Provides a filename with a single module filename.
  * CLICON_YANG_MAIN_DIR Provides a directory where all yang modules should be loaded.
* Change all @datamodel:tree to @datamodel in all CLI specification files
  * If you generate CLI code from the model (CLIXON_CLI_GENMODEL).
  * For backward compatibility, define CLICON_CLI_MODEL_TREENAME_PATCH in clixon_custom.h
* Removed return value ymodp from yang parse functions (eg yang_parse()).
* New config option: CLICON_CLI_MODEL_TREENAME defining name of generated syntax tree if CLIXON_CLI_GENMODEL is set.
2018-12-03 21:16:35 +01:00
..
all.sh stream debugging 2018-11-01 21:34:27 +01:00
Jenkinsfile Jenkinsfile sudo 2018-06-17 23:12:39 +02:00
lib.sh * Yang Support of submodule, include and belongs-to. 2018-12-01 18:17:42 +01:00
plot_perf.sh restconf performance test 2018-01-27 14:46:53 +01:00
README.md readme 2018-11-04 19:47:14 +01:00
test_cli.sh * Yang Support of submodule, include and belongs-to. 2018-12-01 18:17:42 +01:00
test_datastore.sh * Yang Support of submodule, include and belongs-to. 2018-12-01 18:17:42 +01:00
test_feature.sh * Yang Support of submodule, include and belongs-to. 2018-12-01 18:17:42 +01:00
test_identity.sh * Yang Support of submodule, include and belongs-to. 2018-12-01 18:17:42 +01:00
test_install.sh * Makefile change: Removed the make include file: clixon.mk and clixon.mk.in 2018-07-22 18:33:13 +02:00
test_json.sh memleaks 2018-07-20 23:16:26 +02:00
test_leafref.sh * Yang Support of submodule, include and belongs-to. 2018-12-01 18:17:42 +01:00
test_list.sh * Yang Support of submodule, include and belongs-to. 2018-12-01 18:17:42 +01:00
test_nacm.sh * Yang Support of submodule, include and belongs-to. 2018-12-01 18:17:42 +01:00
test_nacm_ext.sh * Yang Support of submodule, include and belongs-to. 2018-12-01 18:17:42 +01:00
test_netconf.sh * Yang Support of submodule, include and belongs-to. 2018-12-01 18:17:42 +01:00
test_openconfig.sh * Yang Support of submodule, include and belongs-to. 2018-12-01 18:17:42 +01:00
test_order.sh * Yang Support of submodule, include and belongs-to. 2018-12-01 18:17:42 +01:00
test_perf.sh * Yang Support of submodule, include and belongs-to. 2018-12-01 18:17:42 +01:00
test_restconf.sh * Yang Support of submodule, include and belongs-to. 2018-12-01 18:17:42 +01:00
test_restconf2.sh * Yang Support of submodule, include and belongs-to. 2018-12-01 18:17:42 +01:00
test_startup.sh * Yang Support of submodule, include and belongs-to. 2018-12-01 18:17:42 +01:00
test_stream.sh * Yang Support of submodule, include and belongs-to. 2018-12-01 18:17:42 +01:00
test_type.sh * Yang Support of submodule, include and belongs-to. 2018-12-01 18:17:42 +01:00
test_when_must.sh * Yang Support of submodule, include and belongs-to. 2018-12-01 18:17:42 +01:00
test_xml.sh * Yang parser is stricter (see cardinality below) which may break parsing of slack yang specs. 2018-11-18 20:55:57 +01:00
test_xpath.sh memleaks 2018-07-20 23:16:26 +02:00
test_yang.sh * Yang Configure options changed 2018-12-03 21:16:35 +01:00
test_yang_parse.sh Openconfig yang specs parsed: https://github.com/openconfig/public 2018-11-25 18:24:13 +01:00

Clixon tests

This directory contains testing code for clixon and the example routing 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.
  • 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