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: 7552bc4d2d57578d003de993d7a2bd496eb15987 https://github.com/milter-manager/milter-manager/commit/7552bc4d2d57578d003de993d7a2bd496eb15987 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 (82b0ac9) @@ -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.uil.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... 下载