https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112013-12-24T23:20:50ZRuby Issue Tracking SystemRuby master - Feature #9292: Add unit test for chown method in test_fileutils.rb with root accounthttps://bugs.ruby-lang.org/issues/9292?journal_id=438712013-12-24T23:20:50Znobu (Nobuyoshi Nakada)nobu@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>This issue was solved with changeset r44387.<br>
Vajrasky, thank you for reporting this issue.<br>
Your contribution to Ruby is greatly appreciated.<br>
May Ruby be with you.</p>
<hr>
<p>test_fileutils.rb: tests for chown</p>
<ul>
<li>test/fileutils/fileasserts.rb (assert_ownership_user): new<br>
assertion for user ownership.</li>
<li>test/fileutils/test_fileutils.rb (test_chown_error),<br>
(test_chown_without_permission, test_chown_with_root):<br>
based on the patch by vajrasky (Vajrasky Kok) at<br>
<a href="/issues/9292">[ruby-core:59298]</a>. [Feature <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Add unit test for chown method in test_fileutils.rb with root account (Closed)" href="https://bugs.ruby-lang.org/issues/9292">#9292</a>]</li>
</ul>