summaryrefslogtreecommitdiffstats
path: root/ipatests/test_integration/test_trust.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipatests/test_integration/test_trust.py')
-rw-r--r--ipatests/test_integration/test_trust.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/ipatests/test_integration/test_trust.py b/ipatests/test_integration/test_trust.py
index 68fc0285..ec545bab 100644
--- a/ipatests/test_integration/test_trust.py
+++ b/ipatests/test_integration/test_trust.py
@@ -93,8 +93,9 @@ class TestBasicADTrust(ADTrustBase):
# This regex checks that Test User does not have UID 10042 nor belongs
# to the group with GID 10047
testuser_regex = "^testuser@%s:\*:(?!10042)(\d+):(?!10047)(\d+):"\
- "Test User:/home/testuser:/bin/sh$"\
- % re.escape(self.ad.domain.name)
+ "Test User:/home/%s/testuser:/bin/sh$"\
+ % (re.escape(self.ad.domain.name),
+ re.escape(self.ad.domain.name))
assert re.search(testuser_regex, result.stdout_text)