Skip to content

Commit 2de52c2

Browse files
authored
Merge pull request #183 from brianhlin/unify-xrootd-requirements
Require globus-proxy-utils for XRootD service mgmt
2 parents a87a5d8 + e6b5acd commit 2de52c2

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

osgtest/tests/test_150_xrootd.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,9 @@ def test_01_configure_xrootd(self):
6969
core.state['xrootd.backups-exist'] = False
7070

7171
self.skip_ok_unless(core.options.adduser, 'user not created')
72-
core.skip_ok_unless_installed('xrootd', by_dependency=True)
72+
core.skip_ok_unless_installed('xrootd', 'globus-proxy-utils', by_dependency=True)
7373

7474
user = pwd.getpwnam("xrootd")
75-
core.skip_ok_unless_installed('globus-proxy-utils')
7675
core.install_cert('certs.xrootdcert', 'certs.hostcert', 'xrootd', 0o644)
7776
core.install_cert('certs.xrootdkey', 'certs.hostkey', 'xrootd', 0o400)
7877

@@ -115,7 +114,7 @@ def test_03_configure_multiuser(self):
115114
core.config['xrootd.multiuser'] = True
116115

117116
def test_04_start_xrootd(self):
118-
core.skip_ok_unless_installed('xrootd', by_dependency=True)
117+
core.skip_ok_unless_installed('xrootd', 'globus-proxy-utils', by_dependency=True)
119118
if core.el_release() < 7:
120119
core.config['xrootd_service'] = "xrootd"
121120
elif core.config['xrootd.multiuser']:

osgtest/tests/test_840_xrootd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def test_01_stop_xrootd(self):
1818
files.restore('/etc/grid-security/xrd/xrdmapfile', "xrootd")
1919
if core.el_release() < 7:
2020
files.restore(core.config['xrootd.service-defaults'], "xrootd")
21-
core.skip_ok_unless_installed('xrootd', by_dependency=True)
21+
core.skip_ok_unless_installed('xrootd', 'globus-proxy-utils', by_dependency=True)
2222
self.skip_ok_if(core.state['xrootd.started-server'], 'did not start server')
2323
service.check_stop(core.config['xrootd_service'])
2424
files.remove(core.config['xrootd.tmp-dir'], force=True)

0 commit comments

Comments
 (0)