Commit graph

2 commits

Author SHA1 Message Date
KJ Tsanaktsidis
dc532b7c4e Fix WEBrick::TestFileHandler#test_short_filename test not working
The test is currently skipped and can't possibly work on windows at the
moment. It fails because $LOAD_PATH is not set up properly in the forked
CGI process, so `require 'uri'` fails.

This works properly in the test_cgi.rb tests, because it sets up a
:RequestCallback to fix things up. Let's move the setup there into
util.rb, so it can be shared with test_filehandler.rb as well.
2023-12-27 12:54:25 +11:00
Hiroshi SHIBATA
5dc786bf86 Move webrick library into internal test toolchain 2020-12-10 18:06:25 +09:00
Renamed from test/webrick/test_cgi.rb (Browse further)