* configure --with-wwwdir=<dir> is removed

* test:
  * new test_helloworld.sh smoketest added for testing basic functions
  * stripped restconf fcgi default config
  * added yang variable
This commit is contained in:
Olof hagsand 2022-02-07 13:24:13 +01:00
parent b5ecd6d5fa
commit 4102ca8a46
127 changed files with 343 additions and 163 deletions

View file

@ -9,9 +9,23 @@ to get the idea.
Note that some IETF yangs need to be available, by default these are in `/usr/local//share/yang/standard`. You can change this location with configure option `--with-yang-standard-dir=DIR`
See also the [site.sh](#site-sh) for example for skipping tests or setting some site-specific variables.
## Openconfig and Yang
To download the openconfig and yang models required for the tests:
```
cd /usr/local/share/openconfig
git clone https://github.com/openconfig/public
cd /usr/local/share/yang
git init
git remote add -f origin https://github.com/YangModels/yang
git config core.sparseCheckout true
echo "standard/" >> .git/info/sparse-checkout
echo "experimental/" >> .git/info/sparse-checkout
git pull origin master
```
## Continuous Integration
CI is done via [Travis CI](https://travis-ci.org/clicon/clixon).