Skip to content

Commit df9188a

Browse files
author
efajardo
committed
Using the core libraries
1 parent a8f663e commit df9188a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

osgtest/tests/test_450_xrootd.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ def test_02_test_multiuser(self):
4747
core.skip_ok_unless_installed('xrootd', 'xrootd-client', 'xrootd-multiuser', by_dependency=True)
4848
temp_dir = "/tmp/vdttest"
4949
if core.config['xrootd.multiuser'] == "ON":
50-
vdttestpid = pwd.getpwnam("vdttest")
51-
owner = stat(os.path.join(temp_dir, 'copied_file.txt')).st_uid
50+
core.check_file_and_perms(os.path.join(temp_dir, 'copied_file.txt'),core.options.username,0o777)
5251
shutil.rmtree(temp_dir)
5352
self.assertEqual(owner, vdttestpid)
5453

0 commit comments

Comments
 (0)