Kenji Okimoto
null+****@clear*****
Wed Apr 5 14:50:21 JST 2017
Kenji Okimoto 2017-04-05 14:50:21 +0900 (Wed, 05 Apr 2017) New Revision: e3ff111f0b22f1936ecd49125f30d61eef512a8b https://github.com/milter-manager/milter-manager/commit/e3ff111f0b22f1936ecd49125f30d61eef512a8b Merged db1ca99: Merge pull request #119 from milter-manager/debug-ci Message: test: Omit `test_rc_script_readable?` Because root user can read all files. Modified files: binding/ruby/test/manager/test-freebsd-rc-detector.rb Modified: binding/ruby/test/manager/test-freebsd-rc-detector.rb (+1 -0) =================================================================== --- binding/ruby/test/manager/test-freebsd-rc-detector.rb 2017-04-03 10:58:04 +0900 (755b422) +++ binding/ruby/test/manager/test-freebsd-rc-detector.rb 2017-04-05 14:50:21 +0900 (80fc09e) @@ -33,6 +33,7 @@ class TestFreeBSDRCDetector < Test::Unit::TestCase end def test_rc_script_readable? + omit("root user can read all files") if Etc.getpwuid.uid.zero? detector = freebsd_rc_detector("milter-manager") assert_false(detector.rc_script_readable?) (@rc_d + "milter-manager").open("w") {} -------------- next part -------------- An HTML attachment was scrubbed... Download