summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@cryptonomic.net>2021-10-30 08:45:12 -0400
committerAndrew Cady <d@cryptonomic.net>2021-10-30 08:45:12 -0400
commit6d6afb40c72253784149c80fb3851970ef4f0305 (patch)
tree900201edde6798a8a31872b4e1bfd3414768221e
parent73744db384146cfcca757462b7431e889a394abb (diff)
fix test for systemd
-rw-r--r--EndoForge/test/Makefile4
1 files 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:
15 $(SU) - $(testuser) -c 'git config --global user.email $(testuser)' 15 $(SU) - $(testuser) -c 'git config --global user.email $(testuser)'
16 16
17test: $(shell getent passwd $(testuser) >/dev/null || echo useradd) 17test: $(shell getent passwd $(testuser) >/dev/null || echo useradd)
18 $(ROOT_INSTALL) -t ~$(testuser) tests.sh 18 $(SUDO) install -t ~$(testuser) tests.sh
19 $(SU) - $(testuser) -c ./tests.sh 19 $(SUDO) machinectl shell --uid=$(testuser) '' /bin/sh -c './tests.sh'
20 20
21ifeq ($(testuser),) 21ifeq ($(testuser),)
22$(error testuser not defined) 22$(error testuser not defined)