summaryrefslogtreecommitdiff
path: root/test/socket
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2025-04-02 13:38:49 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2025-04-02 16:24:47 +0900
commit6bd5a51ab5a2b1d33fa586cb2969b25d8d68c121 (patch)
treea9bc14d06c1108fc5e29698a80f4fb38a42b18fa /test/socket
parentca97302dd404070bf971767914b6e4855b4de8a9 (diff)
Removed Solaris conditions from test files
We no longer execute those files with Solaris platforms.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/13037
Diffstat (limited to 'test/socket')
-rw-r--r--test/socket/test_socket.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/socket/test_socket.rb b/test/socket/test_socket.rb
index b15cf63297..165990dd64 100644
--- a/test/socket/test_socket.rb
+++ b/test/socket/test_socket.rb
@@ -513,7 +513,7 @@ class TestSocket < Test::Unit::TestCase
end
def test_timestamp
- return if /linux|freebsd|netbsd|openbsd|solaris|darwin/ !~ RUBY_PLATFORM
+ return if /linux|freebsd|netbsd|openbsd|darwin/ !~ RUBY_PLATFORM
return if !defined?(Socket::AncillaryData) || !defined?(Socket::SO_TIMESTAMP)
t1 = Time.now.strftime("%Y-%m-%d")
stamp = nil