* 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

View file

@ -41,25 +41,19 @@ SHELL = /bin/sh
.PHONY: all clean distclean depend install uninstall
HOSTS=
# The "hosts" file must exist and define the HOSTS variable
# Include "site.mk" file if it exists and define the HOSTS variables
# eg :
# HOSTS += vandal.hagsand.com # i86_32 ubuntu
# ...
-include hosts
HOSTS=
-include site.mk
SCRIPTS = cligen-mk.sh
SCRIPTS += clixon-mk.sh
SCRIPTS += clixon-config.sh
.PHONY: all clean distclean depend install uninstall $(HOSTS) $(VAGRANTS)
.PHONY: all clean distclean depend install uninstall $(HOSTS)
all: $(HOSTS)
all: $(HOSTS) $(VAGRANTS)
# Real hosts reachable by ssh
$(HOSTS):
for s in $(SCRIPTS); do \
(scp $$s $@:/tmp/ ; ssh $@ chmod 750 /tmp/$$s || exit 1) \
done;
./cicd.sh $@ 2>&1 | tee $@.log
clean: