Changeset 41011
- Timestamp:
- Oct 31, 2019, 10:33:17 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20191011/Nebulous/t/68_client_chmod.t
r24281 r41011 41 41 is($mode, 0440, "returned mode"); 42 42 is($neb->getxattr($key, 'user.mode'), 0440, "xattr user.mode"); 43 44 # reset to 600 so the user can delete the file and /tmp entry 45 chmod(0600, $path); 43 46 } 44 47 … … 53 56 my $mode = $neb->chmod($key, 0440); 54 57 55 my $st1 = stat(URI->new($uri1)->path); 56 my $st2 = stat(URI->new($uri2)->path); 58 my $path1 = URI->new($uri1)->path; 59 my $path2 = URI->new($uri2)->path; 60 61 my $st1 = stat($path1); 62 my $st2 = stat($path2); 57 63 58 64 is($st1->mode &07777, 0440, "chmod() first instance"); … … 60 66 is($mode, 0440, "returned mode"); 61 67 is($neb->getxattr($key, 'user.mode'), 0440, "xattr user.mode"); 68 69 # reset to 600 so the user can delete the file and /tmp entry 70 chmod(0600, $path1); 71 chmod(0600, $path2); 62 72 } 63 73
Note:
See TracChangeset
for help on using the changeset viewer.
