test/vagrant fixes

This commit is contained in:
Olof Hagsand 2020-12-03 14:23:59 +00:00
parent d045e8abce
commit 99c570e278
3 changed files with 7 additions and 5 deletions

View file

@ -63,9 +63,9 @@ logs:
# appear eg as generic/centos8.log
$(VAGRANTS): logs
ifdef LOGDIR
with_restconf=$(RESTCONF) ./vagrant.sh $@ 2>&1 > "$(LOGDIR)/$(subst /,-,$@).$(RESTCONF).log"
with_restconf=$(RESTCONF) ./vagrant.sh $@ 2>&1 > "$(LOGDIR)/$(subst /,-,$@)-$(RESTCONF).log"
else
with_restconf=$(RESTCONF) ./vagrant.sh $@ 2>&1 | tee "logs/$(subst /,-,$@).$(RESTCONF).log"
with_restconf=$(RESTCONF) ./vagrant.sh $@ 2>&1 | tee "logs/$(subst /,-,$@)-$(RESTCONF).log"
endif
destroy: