Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
implement chmod as a function
because a test file wants it that way :-). Run that test file
  • Loading branch information
moritz committed May 14, 2012
1 parent aeca2f8 commit a144e29
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/core/IO.pm
Expand Up @@ -398,3 +398,4 @@ sub copy(Cool $from as Str, Cool $to as Str) {
}
}

sub chmod($mode, $filename) { $filename.IO.chmod($mode); $filename }
1 change: 1 addition & 0 deletions t/spectest.data
Expand Up @@ -501,6 +501,7 @@ S14-traits/attributes.t
# S14-traits/package.t # err: Invalid typename in parameter declaration
S14-traits/routines.t
# S14-traits/variables.t # err: Invalid typename in parameter declaration
S16-filehandles/chmod.t
S16-filehandles/filestat.t
S16-filehandles/filetest.t
S16-filehandles/io_in_for_loops.t
Expand Down
1 change: 0 additions & 1 deletion tools/update_passing_test_data.pl
Expand Up @@ -105,7 +105,6 @@ sub go {
$all_passed = 'A' if ! $agg->has_errors;
printf "[%s%s%s] (% 3d/%-3d) %s\n", $some_passed, $plan_ok, $all_passed,
$actually_passed, $planned, $orig
if $actually_passed || ($plan_ok && $planned > 0);
}

sub read_specfile {
Expand Down

0 comments on commit a144e29

Please sign in to comment.