From fa691ce201523e07fab1c381aaa138d81b16ead5 Mon Sep 17 00:00:00 2001 From: Justin Stephenson Date: Thu, 18 Jul 2019 12:00:50 -0400 Subject: [PATCH] Tests: Avoid failure in attempting to add existing tlog user --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5321416..0a39cb6 100644 --- a/Makefile +++ b/Makefile @@ -122,7 +122,7 @@ 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 -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) # convenience target for the above