Skip to content

Commit a8f663e

Browse files
author
efajardo
committed
Starting the privlieged service
1 parent b4fae3d commit a8f663e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

osgtest/tests/test_150_xrootd.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ def test_01_start_xrootd(self):
3333
core.config['certs.xrootdkey'] = '/etc/grid-security/xrd/xrdkey.pem'
3434
core.config['xrootd.config'] = '/etc/xrootd/xrootd-clustered.cfg'
3535
core.config['xrootd.gsi'] = "ON"
36+
core.config['xrootd.multiuser'] = "OFF"
3637
core.state['xrootd.started-server'] = False
3738
core.state['xrootd.backups-exist'] = False
3839

@@ -81,6 +82,8 @@ def test_04_start_xrootd(self):
8182
core.skip_ok_unless_installed('xrootd', by_dependency=True)
8283
if core.el_release() < 7:
8384
core.config['xrootd_service'] = "xrootd"
85+
elif core.config['xrootd.multiuser'] == "ON":
86+
core.config['xrootd_service'] = "xrootd-privileged@clustered"
8487
else:
8588
core.config['xrootd_service'] = "xrootd@clustered"
8689

0 commit comments

Comments
 (0)