Skip to content

Commit ae145a0

Browse files
nagachikako1
authored andcommitted
rescue Errno::EACCES.
1 parent fdce242 commit ae145a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/console/rdbg_option_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def program
9999
def with_rc_script
100100
begin
101101
File.open(rc_filename, "w") { |f| f.write(rc_script) }
102-
rescue Errno::EPERM
102+
rescue Errno::EPERM, Errno::EACCES
103103
omit "Skip test with rc files. Cannot create rcfiles in HOME directory."
104104
end
105105

0 commit comments

Comments
 (0)