Changeset 40988 for branches/eam_branches/ipp-20191011
- Timestamp:
- Oct 28, 2019, 3:50:07 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20191011/Nebulous-Server/t/18_server_chmod_object.t
r24356 r40988 38 38 is($mode, 0440, "returned mode"); 39 39 is($neb->getxattr_object($key, 'user.mode'), 0440, "xattr user.mode"); 40 41 # reset to 600 so the user can delete the file and /tmp entry 42 chmod(0600, $path); 40 43 } 41 44 … … 50 53 my $mode = $neb->chmod_object($key, 0440); 51 54 52 my $st1 = stat(URI->new($uri1)->path); 53 my $st2 = stat(URI->new($uri2)->path); 55 my $path1 = URI->new($uri1)->path; 56 my $path2 = URI->new($uri2)->path; 57 58 my $st1 = stat($path1); 59 my $st2 = stat($path2); 54 60 55 61 is($st1->mode &07777, 0440, "chmod() first instance"); … … 57 63 is($mode, 0440, "returned mode"); 58 64 is($neb->getxattr_object($key, 'user.mode'), 0440, "xattr user.mode"); 65 66 # reset to 600 so the user can delete the file and /tmp entry 67 chmod (0600, $path1); 68 chmod (0600, $path2); 59 69 } 60 70
Note:
See TracChangeset
for help on using the changeset viewer.
