Skip to content

Commit 518a575

Browse files
committed
cleanup xrootd config under config.d also (SOFTWARE-3485)
1 parent 0e84a10 commit 518a575

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

osgtest/tests/test_150_xrootd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def test_01_start_xrootd(self):
7070
else:
7171
files.write(core.config['xrootd.config-extra'],
7272
XROOTD_CFG_TEXT % (sec_protocol, core.config['xrootd.port']),
73-
owner='xrootd', chmod=0o644)
73+
owner='xrootd', backup=True, chmod=0o644)
7474
authfile = '/etc/xrootd/auth_file'
7575
files.write(authfile, AUTHFILE_TEXT, owner="xrootd", chown=(user.pw_uid, user.pw_gid))
7676

osgtest/tests/test_840_xrootd.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ def test_01_stop_xrootd(self):
99
if core.state['xrootd.backups-exist']:
1010
if core.PackageVersion('xrootd') < '4.9.0':
1111
files.restore(core.config['xrootd.config'], "xrootd")
12+
else:
13+
files.restore(core.config['xrootd.config-extra'], "xrootd")
1214
files.restore('/etc/xrootd/auth_file', "xrootd")
1315
if not core.rpm_is_installed('xrootd-lcmaps'):
1416
files.restore('/etc/grid-security/xrd/xrdmapfile', "xrootd")

0 commit comments

Comments
 (0)