This is an automated email from the git hooks/post-receive script.
firstyear pushed a commit to branch master
in repository 389-ds-base.
commit ecfbfc8ec766c8e98e0bb593154e954635098349
Author: William Brown <firstyear(a)redhat.com>
Date: Sat Mar 4 17:08:48 2017 +1000
Ticket 49155 - Fix db2ldif path in test
Bug Description: Ticket 47536 uses an incorrect path, which can cause
db2ldif to fail.
Fix Description: Use the sbin path from paths.py.
https://pagure.io/389-ds-base/issue/49155
Author: wibrown
Review by: mreynolds (Thanks!)
---
dirsrvtests/tests/tickets/ticket47536_test.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dirsrvtests/tests/tickets/ticket47536_test.py
b/dirsrvtests/tests/tickets/ticket47536_test.py
index 7850ea5..b5ec020 100644
--- a/dirsrvtests/tests/tickets/ticket47536_test.py
+++ b/dirsrvtests/tests/tickets/ticket47536_test.py
@@ -405,7 +405,7 @@ def test_ticket47536(topology_m2):
entries = topology_m2.ms["master2"].search_s(DEFAULT_SUFFIX,
ldap.SCOPE_SUBTREE, '(uid=*)')
assert 20 == len(entries)
- db2ldifpl = '%s/sbin/db2ldif.pl' %
topology_m2.ms["master1"].prefix
+ db2ldifpl = '%s/db2ldif.pl' %
topology_m2.ms["master1"].get_sbin_dir()
cmdline = [db2ldifpl, '-n', 'userRoot', '-Z',
SERVERID_MASTER_1, '-D', DN_DM, '-w', PASSWORD]
log.info("##### db2ldif.pl -- %s" % (cmdline))
doAndPrintIt(cmdline)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.