clixon/test/vagrant
Olof hagsand 8cde7a4ded * Handling empty netconf XML messages "]]>]]>" is changed from being accepted to return an error.
* Netconf split lines input (input fragments) fixed
  * Netconf input split on several lines, eg using stdin: "<a>\nfoo</a>]]>]]>" could under some circumstances be split so that only "</a>]]>]]>" be properly processed. This could also happen to a socket receiving a sub-string and then after a delay receive the rest.
  * Fixed by storing residue and add that to the input string if later input is received on the same socket.
* Use [https://github.com/clicon/libevhtp](https://github.com/clicon/libevhtp) instead of [https://github.com/criticalstack/libevhtp](https://github.com/criticalstack/libevhtp) as a source of the evhtp source
2021-01-07 16:57:47 +01:00
..
clixon.sh evhtp debugging: memleaks, test errors, etc 2020-11-19 18:06:20 +01:00
Makefile.in test/vagrant fixes 2020-12-03 14:23:59 +00:00
mem.sh vagrant tests eg with evhtp 2020-07-10 12:33:30 +00:00
nginx.sh more test and vagrant for nginx checks 2020-11-25 19:48:42 +01:00
README.md vagrant updates 2020-10-18 15:23:20 +00:00
vagrant.sh * Handling empty netconf XML messages "]]>]]>" is changed from being accepted to return an error. 2021-01-07 16:57:47 +01:00

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

Beware memory exhaustion if you run too many simultaneously.

Logs appear in : <dir>/<hostname>.log.

You can also run a single vagrant test as follows:

  vagrant.sh freebsd/FreeBSD-12.1-STABLE

The current vagrant boxes are verified continuously:

  • ubuntu/bionic64
  • generic/centos8
  • generic/freebsd12

For other vagrant boxes, see search vagrant boxes