@@ -63,7 +63,7 @@ def test_01_start_xrootd(self):
63
63
owner = "xrootd" ,
64
64
chown = (user .pw_uid , user .pw_gid ))
65
65
66
- if core .PackageVersion ('xrootd' ) < '4.9.0' :
66
+ if core .PackageVersion ('xrootd' ) < '1: 4.9.0' :
67
67
files .append (core .config ['xrootd.config' ],
68
68
XROOTD_CFG_TEXT % (sec_protocol , core .config ['xrootd.port' ]),
69
69
owner = 'xrootd' , backup = True )
@@ -79,15 +79,15 @@ def test_01_start_xrootd(self):
79
79
def test_02_configure_hdfs (self ):
80
80
core .skip_ok_unless_installed ('xrootd-hdfs' )
81
81
hdfs_config = "ofs.osslib /usr/lib64/libXrdHdfs.so"
82
- if core .PackageVersion ('xrootd' ) < '4.9.0' :
82
+ if core .PackageVersion ('xrootd' ) < '1: 4.9.0' :
83
83
files .append (core .config ['xrootd.config' ], hdfs_config , backup = False )
84
84
else :
85
85
files .append (core .config ['xrootd.config-extra' ], hdfs_config , backup = False )
86
86
87
87
def test_03_configure_multiuser (self ):
88
88
core .skip_ok_unless_installed ('xrootd-multiuser' ,'globus-proxy-utils' , by_dependency = True )
89
89
xrootd_multiuser_conf = "xrootd.fslib libXrdMultiuser.so default"
90
- if core .PackageVersion ('xrootd' ) < '4.9.0' :
90
+ if core .PackageVersion ('xrootd' ) < '1: 4.9.0' :
91
91
files .append (core .config ['xrootd.config' ], xrootd_multiuser_conf , owner = 'xrootd' , backup = False )
92
92
else :
93
93
files .append (core .config ['xrootd.config-extra' ], xrootd_multiuser_conf , owner = 'xrootd' , backup = False )
0 commit comments