clixon/test/vagrant
Olof Hagsand ac7673bc35 Fixed static build typo
Test: grep --null -Eo not supported on ubunti 20
Enable IPv6 for ubuntu
Vagrant: enable insecure downloads
2022-04-09 15:14:18 +00:00
..
clixon.sh Fixed: SEGV when starting FCGI restconf program 2021-12-30 16:35:54 +01:00
Makefile.in - Fixed [clixon_proc can't start new process with PATH env #202](https://github.com/clicon/clixon/issues/202) 2021-04-14 17:02:24 +02: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 Tests: added expect script for pagination stdio 2022-03-14 14:02:21 +01:00
vagrant.sh Fixed static build typo 2022-04-09 15:14:18 +00: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/freebsd13

For other vagrant boxes, see search vagrant boxes

Inaccessible

Sometimes Vagrant says: ”Your VM has become inaccessible”

VBoxManage list vms
VBoxManage unregistervm xxx