diff options
author | Andrew Cady <d@cryptonomic.net> | 2021-10-30 08:45:12 -0400 |
---|---|---|
committer | Andrew Cady <d@cryptonomic.net> | 2021-10-30 08:45:12 -0400 |
commit | 6d6afb40c72253784149c80fb3851970ef4f0305 (patch) | |
tree | 900201edde6798a8a31872b4e1bfd3414768221e /EndoForge/test | |
parent | 73744db384146cfcca757462b7431e889a394abb (diff) |
fix test for systemd
Diffstat (limited to 'EndoForge/test')
-rw-r--r-- | EndoForge/test/Makefile | 4 |
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 | ||
17 | test: $(shell getent passwd $(testuser) >/dev/null || echo useradd) | 17 | test: $(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 | ||
21 | ifeq ($(testuser),) | 21 | ifeq ($(testuser),) |
22 | $(error testuser not defined) | 22 | $(error testuser not defined) |