@@ -33,6 +33,7 @@ def test_01_start_xrootd(self):
33
33
core .config ['certs.xrootdkey' ] = '/etc/grid-security/xrd/xrdkey.pem'
34
34
core .config ['xrootd.config' ] = '/etc/xrootd/xrootd-clustered.cfg'
35
35
core .config ['xrootd.gsi' ] = "ON"
36
+ core .config ['xrootd.multiuser' ] = "ON"
36
37
core .state ['xrootd.started-server' ] = False
37
38
core .state ['xrootd.backups-exist' ] = False
38
39
@@ -69,7 +70,15 @@ def test_02_configure_hdfs(self):
69
70
hdfs_config = "ofs.osslib /usr/lib64/libXrdHdfs.so"
70
71
files .append (core .config ['xrootd.config' ], hdfs_config , backup = False )
71
72
72
- def test_03_start_xrootd (self ):
73
+ def test_03_configure_multiuser (self ):
74
+ core .skip_ok_unless_installed ('xrootd-multiuser' )
75
+ core .config ['xrootd.multiuser' ] = "ON"
76
+ # We need both multiuser and gsi part to test multiuser
77
+ if core .config ['xrootd.multiuser' ] == "ON" & & core .config ['xrootd.gsi' ] == "ON" :
78
+ xrootd_multiuser_conf = "xrootd.fslib libXrdMultiuser.so default"
79
+ files .append (core .config ['xrootd.config' ], xrootd_multiuser_conf , owner = 'xrootd' , backup = True )
80
+
81
+ def test_04_start_xrootd (self ):
73
82
core .skip_ok_unless_installed ('xrootd' , by_dependency = True )
74
83
if core .el_release () < 7 :
75
84
core .config ['xrootd_service' ] = "xrootd"
0 commit comments