@@ -43,7 +43,13 @@ def test_01_xrdcp_local_to_server(self):
43
43
self .assertEqual (status , 0 , fail )
44
44
self .assert_ (file_copied , 'Copied file missing' )
45
45
46
- def test_02_xrdcp_server_to_local (self ):
46
+ def test_02_test_multiuser (self ):
47
+ core .skip_ok_unless_installed ('xrootd' , 'xrootd-client' , 'xrootd-multiuser' , by_dependency = True )
48
+ if core .config ['xrootd.multiuser' ] == "ON" :
49
+ success = core .check_file_and_perms ("/tmp/vdttest/copied_file.txt" ,"vdttest" ,0o7777 )
50
+ self .assert_ (success , "Copied file is not owned by vdttest" )
51
+
52
+ def test_03_xrdcp_server_to_local (self ):
47
53
core .skip_ok_unless_installed ('xrootd' , 'xrootd-client' , by_dependency = True )
48
54
if core .config ['xrootd.gsi' ] == "ON" :
49
55
core .skip_ok_unless_installed ('globus-proxy-utils' )
@@ -72,7 +78,7 @@ def test_02_xrdcp_server_to_local(self):
72
78
self .assertEqual (status , 0 , fail )
73
79
self .assert_ (file_copied , 'Copied file missing' )
74
80
75
- def test_03_xrootd_fuse (self ):
81
+ def test_04_xrootd_fuse (self ):
76
82
# This tests xrootd-fuse using a mount in /mnt
77
83
core .skip_ok_unless_installed ('xrootd' , 'xrootd-client' , by_dependency = True )
78
84
self .skip_ok_unless (os .path .exists ("/mnt" ), "/mnt did not exist" )
0 commit comments