It seems that the default value of NtfsDisable8dot3NameCreation registry value is 2, and not 0, since a very long time (at least Windows 7), so the wxPATH_NORM_LONG test was never actually executed. Change the check guarding it to check if the value of the key is different from 1 instead of checking that it is 0, as the test can still succeed on the systems where this is the case. Of course, it can also fail, if short names are disabled for the current volume, but let's see if this is a problem in practice before doing something more complicated to deal with this case.
Tests
This directory contains tests for the library and is mostly useful for the
library developers. See the samples subdirectory for the examples that are
more useful to the application developers using the library.
If you do work on the library itself and would like to modify an existing or
add a new test, please see docs/contributing/how-to-write-unit-tests.md for
more information.
This file also contains the instructions for running the tests if you'd just like to do it to confirm that the library works correctly.