Tests: Avoid failure in attempting to add existing tlog user
This commit is contained in:
parent
142dd4fb6a
commit
fa691ce201
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -122,7 +122,7 @@ rpm: dist-gzip cockpit-$(PACKAGE_NAME).spec
|
||||||
$(VM_IMAGE): rpm bots
|
$(VM_IMAGE): rpm bots
|
||||||
rm -f $(VM_IMAGE) $(VM_IMAGE).qcow2
|
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 -i cockpit -i `pwd`/cockpit-$(PACKAGE_NAME)-*.noarch.rpm -s $(CURDIR)/test/vm.install $(TEST_OS)
|
||||||
bots/image-customize -v -r "useradd tlog && usermod -u 981 tlog" $(TEST_OS)
|
bots/image-customize -v -r "usermod -u 981 tlog || true" $(TEST_OS)
|
||||||
bots/image-customize -v -u ./test/files/1.journal:/var/log/journal/1.journal $(TEST_OS)
|
bots/image-customize -v -u ./test/files/1.journal:/var/log/journal/1.journal $(TEST_OS)
|
||||||
|
|
||||||
# convenience target for the above
|
# convenience target for the above
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue