* test/etc/test_etc.rb (test_passwd): age field may be string under
some environments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7e5be7e131
commit
8da30b8928
@ -1,3 +1,8 @@
|
|||||||
|
Tue Jul 29 21:35:59 2008 Yusuke Endoh <mame@tsg.ne.jp>
|
||||||
|
|
||||||
|
* test/etc/test_etc.rb (test_passwd): age field may be string under
|
||||||
|
some environments.
|
||||||
|
|
||||||
Tue Jul 29 17:54:35 2008 NARUSE, Yui <naruse@ruby-lang.org>
|
Tue Jul 29 17:54:35 2008 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* dir.c (char_casecmp): fix: return 0 if either of characters is NUL.
|
* dir.c (char_casecmp): fix: return 0 if either of characters is NUL.
|
||||||
|
@ -18,7 +18,7 @@ class TestEtc < Test::Unit::TestCase
|
|||||||
assert_instance_of(String, s.shell)
|
assert_instance_of(String, s.shell)
|
||||||
assert_kind_of(Integer, s.change) if s.respond_to?(:change)
|
assert_kind_of(Integer, s.change) if s.respond_to?(:change)
|
||||||
assert_kind_of(Integer, s.quota) if s.respond_to?(:quota)
|
assert_kind_of(Integer, s.quota) if s.respond_to?(:quota)
|
||||||
assert_kind_of(Integer, s.age) if s.respond_to?(:age)
|
assert(s.age.is_a?(Integer) || s.age.is_a?(String)) if s.respond_to?(:age)
|
||||||
assert_instance_of(String, s.uclass) if s.respond_to?(:uclass)
|
assert_instance_of(String, s.uclass) if s.respond_to?(:uclass)
|
||||||
assert_instance_of(String, s.comment) if s.respond_to?(:comment)
|
assert_instance_of(String, s.comment) if s.respond_to?(:comment)
|
||||||
assert_kind_of(Integer, s.expire) if s.respond_to?(:expire)
|
assert_kind_of(Integer, s.expire) if s.respond_to?(:expire)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user