Skip to content

Commit 0e84a10

Browse files
committed
conditionalize restore in xrootd cleanup tests (SOFTWARE-3485)
1 parent 6bfe928 commit 0e84a10

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

osgtest/tests/test_840_xrootd.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ class TestStopXrootd(osgunittest.OSGTestCase):
77

88
def test_01_stop_xrootd(self):
99
if core.state['xrootd.backups-exist']:
10-
files.restore(core.config['xrootd.config'], "xrootd")
10+
if core.PackageVersion('xrootd') < '4.9.0':
11+
files.restore(core.config['xrootd.config'], "xrootd")
1112
files.restore('/etc/xrootd/auth_file', "xrootd")
1213
if not core.rpm_is_installed('xrootd-lcmaps'):
1314
files.restore('/etc/grid-security/xrd/xrdmapfile', "xrootd")

0 commit comments

Comments
 (0)