Module: check_mk
Branch: master
Commit: f9ad28c9485b12a5dcab7c3a4ff29cf691a212c7
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f9ad28c9485b12…
Author: Jukka Aro <ja(a)mathias-kettner.de>
Date: Thu Jan 25 16:31:33 2018 +0100
Windows integrationtest: fix jenkins user check
---
agents/windows/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/agents/windows/Makefile.am b/agents/windows/Makefile.am
index 5ebd491..c996ec7 100644
--- a/agents/windows/Makefile.am
+++ b/agents/windows/Makefile.am
@@ -42,7 +42,7 @@ integrationtest: install-strip
cd $(bindir)/it ; \
rm -f remote.pyc ; \
rm -rf __pycache__ ; \
- if [[ $$SUDO_USER == jenkins ]] ; then \
+ if [[ $$USER == jenkins ]] ; then \
$(pytest) $(pytest_jenkins) ; \
else \
$(pytest) $(pytest_options) ; \