Update tests

This commit is contained in:
Kyrylo Gliebov 2018-10-31 13:52:51 +01:00
parent 67716138d2
commit 2162092977
2 changed files with 112 additions and 29 deletions

View file

@ -120,7 +120,8 @@ rpm: dist-gzip cockpit-$(PACKAGE_NAME).spec
$(VM_IMAGE): rpm bots
rm -f $(VM_IMAGE) $(VM_IMAGE).qcow2
bots/image-customize -v -i cockpit -i `pwd`/cockpit-$(PACKAGE_NAME)-*.noarch.rpm -s $(CURDIR)/test/vm.install $(TEST_OS)
bots/image-customize -v -u ./test/files/1.journal:/root/1.journal $(TEST_OS)
bots/image-customize -v -r "useradd tlog && usermod -u 981 tlog" $(TEST_OS)
bots/image-customize -v -u ./test/files/1.journal:/var/log/journal/1.journal $(TEST_OS)
# convenience target for the above
vm: $(VM_IMAGE)