* Added [Vagrant tests](test/vagrant/README.md)

* Fixed memleak in restconf-fcgi
This commit is contained in:
Olof Hagsand 2020-06-08 08:16:42 +00:00
parent 7ffa2920a4
commit ab73794292
14 changed files with 458 additions and 32 deletions

28
test/vagrant/README.md Normal file
View file

@ -0,0 +1,28 @@
Vagrant scripts
===============
Scripts for booting local vagrant hosts, installing clixon and running clixon tests
The script then uses a Makefile and logs in to each host, pulls from
git, configure, makes and runs through the tests. Make is used to get
concurrency - eg with `make -j 10`
The Makefile contains a configurable VAGRANTS variable, which is defined
in a "site.mk" file. You can add such a file, eg:
```
VAGRANTS += freebsd/FreeBSD-12.1-STABLE
VAGRANTS += generic/centos8
```
Logs appear in : <hostname>.log.
You can also run a single vagrant test as follows:
```
vagrant.sh freebsd/FreeBSD-12.1-STABLE
```
The current status is as follows
* freebsd/FreeBSD-12.1-STABLE
* generic/centos8 - some remaining nginx issue
* generic/opensuse42 - fastcgi is not installed
See more Vagrant boxes at [https://vagrantcloud.com/search]).