Add a test for long filename handling
From IRC/matrix:
Hi! wget seems to have a bug. When downloading a file with a 240char long filename it renames the file to a 236char long one and drops the extension. This is despite the fact that ext4 supports 240char long filenames.
In addition to that if downloading this file with --mirror option the filename is truncated even more, because wget incorrectly assumes the path counts to the filesystem filename char limit.
This is very sad as I need to download a few dozen thousands of small files and the filenames have to be exactly the same. Is there a way to prevent wget from renaming files or prevent it from downloading files with filenames too long or deal with this somehow else?