Message-Id: <b94sqtk7sidi2501apjssfubdc2ulmap38@4ax.com>
p4raw-id: //depot/perl@12159
@ARGV = ( 0600, 'ecmdfile' );
ExtUtils::Command::chmod();
- is( (stat('ecmdfile'))[2] & 07777, 0600, 'removed non-owner permissions' );
+ is( ((stat('ecmdfile'))[2] & 07777) & 0700, 0600, 'change a file to read-only' );
# mkpath
@ARGV = ( File::Spec->join( 'ecmddir', 'temp2' ) );