summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/lib/envutil.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/envutil.rb b/test/lib/envutil.rb
index 32b6bfd836..ceb68d6007 100644
--- a/test/lib/envutil.rb
+++ b/test/lib/envutil.rb
@@ -82,7 +82,7 @@ module EnvUtil
while signal = signals.shift
begin
Process.kill signal, pgroup
- rescue Errno::Invalid
+ rescue Errno::INVAL
next
rescue Errno::ESRCH
break