@@ -37,7 +37,7 @@ def test_01_start_xrootd(self):
37
37
core .config ['certs.xrootdkey' ] = '/etc/grid-security/xrd/xrdkey.pem'
38
38
core .config ['xrootd.config' ] = '/etc/xrootd/xrootd-clustered.cfg'
39
39
core .config ['xrootd.port' ] = XROOTD_PORT
40
- core .config ['xrootd.multiuser' ] = "OFF"
40
+ core .config ['xrootd.multiuser' ] = False
41
41
core .state ['xrootd.started-server' ] = False
42
42
core .state ['xrootd.backups-exist' ] = False
43
43
@@ -77,15 +77,15 @@ def test_02_configure_hdfs(self):
77
77
78
78
def test_03_configure_multiuser (self ):
79
79
core .skip_ok_unless_installed ('xrootd-multiuser' ,'globus-proxy-utils' , by_dependency = True )
80
- core .config ['xrootd.multiuser' ] = "ON"
81
80
xrootd_multiuser_conf = "xrootd.fslib libXrdMultiuser.so default"
82
81
files .append (core .config ['xrootd.config' ], xrootd_multiuser_conf , owner = 'xrootd' , backup = False )
82
+ core .config ['xrootd.multiuser' ] = True
83
83
84
84
def test_04_start_xrootd (self ):
85
85
core .skip_ok_unless_installed ('xrootd' , by_dependency = True )
86
86
if core .el_release () < 7 :
87
87
core .config ['xrootd_service' ] = "xrootd"
88
- elif core .config ['xrootd.multiuser' ] == "ON" :
88
+ elif core .config ['xrootd.multiuser' ]:
89
89
core .config ['xrootd_service' ] = "xrootd-privileged@clustered"
90
90
else :
91
91
core .config ['xrootd_service' ] = "xrootd@clustered"
0 commit comments