File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -4055,11 +4055,11 @@ fn test_acl_preserve() {
40554055 at. mkdir ( path2) ;
40564056 at. touch ( file) ;
40574057
4058- let path = at. plus_as_string ( file ) ;
4058+ let path1 = at. plus_as_string ( path1 ) ;
40594059 // calling the command directly. xattr requires some dev packages to be installed
40604060 // and it adds a complex dependency just for a test
40614061 match Command :: new ( "setfacl" )
4062- . args ( [ "-m" , "group::rwx" , path1] )
4062+ . args ( [ "-m" , "group::rwx" , & path1] )
40634063 . status ( )
40644064 . map ( |status| status. code ( ) )
40654065 {
@@ -4074,6 +4074,7 @@ fn test_acl_preserve() {
40744074 }
40754075 }
40764076
4077+ let path = at. plus_as_string ( file) ;
40774078 scene. ucmd ( ) . args ( & [ "-p" , & path, path2] ) . succeeds ( ) ;
40784079
40794080 assert ! ( compare_xattrs( & file, & file_target) ) ;
You can’t perform that action at this time.
0 commit comments