Skip to content

Commit b19043e

Browse files
committed
Skip signal test on windows
Windows has no SIGUSR1. There might be another usable signal, but this is breaking ruby master so I just want a quick fix for now.
1 parent 1a499a8 commit b19043e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_timeout.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,5 +444,5 @@ def test_timeout_in_trap_handler
444444

445445
assert_equal "OK", rd.read
446446
rd.close
447-
end
447+
end if Signal.list["USR1"] # Windows has no SIGUSR1
448448
end

0 commit comments

Comments
 (0)