Project

General

Profile

Feature #9303

Add unit test for chown method in test_fileutils.rb to test that it does not chmod recursively

Added by Vajrasky Kok almost 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
[ruby-core:59325]

Description

I was about to write unit test for FileUtils.chown_R then I realized that I needed to make sure FileUtils.chown does not chmod recursively first. Here is the patch.

improve_unit_test_chmod_non_recursive.patch View (1.74 KB) Vajrasky Kok, 12/26/2013 07:36 PM

Associated revisions

Revision 46091
Added by Hiroshi SHIBATA over 2 years ago

  • test/fileutils/test_fileutils.rb: Added recursively chmod tests. [Feature #9303]

Revision 46091
Added by Hiroshi SHIBATA over 2 years ago

  • test/fileutils/test_fileutils.rb: Added recursively chmod tests. [Feature #9303]

Revision 46091
Added by Hiroshi SHIBATA over 2 years ago

  • test/fileutils/test_fileutils.rb: Added recursively chmod tests. [Feature #9303]

History

#1 [ruby-core:60618] Updated by Hiroshi SHIBATA almost 3 years ago

  • Tracker changed from Misc to Feature

#2 [ruby-core:62731] Updated by Hiroshi SHIBATA over 2 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Applied in changeset r46091.


  • test/fileutils/test_fileutils.rb: Added recursively chmod tests. [Feature #9303]

Also available in: Atom PDF