From 6d6afb40c72253784149c80fb3851970ef4f0305 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Sat, 30 Oct 2021 08:45:12 -0400 Subject: fix test for systemd --- EndoForge/test/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EndoForge/test/Makefile b/EndoForge/test/Makefile index 3bc1a66..dd41d7a 100644 --- a/EndoForge/test/Makefile +++ b/EndoForge/test/Makefile @@ -15,8 +15,8 @@ useradd: $(SU) - $(testuser) -c 'git config --global user.email $(testuser)' test: $(shell getent passwd $(testuser) >/dev/null || echo useradd) - $(ROOT_INSTALL) -t ~$(testuser) tests.sh - $(SU) - $(testuser) -c ./tests.sh + $(SUDO) install -t ~$(testuser) tests.sh + $(SUDO) machinectl shell --uid=$(testuser) '' /bin/sh -c './tests.sh' ifeq ($(testuser),) $(error testuser not defined) -- cgit v1.2.3