Zero functional changes, simply executed the following:
find . -name '*.t' -exec perl -0777 -p -i -e 's|^use t::lib::SQLiteTest|use lib "t/lib";\nuse SQLiteTest|m' {} +
Also had to do a manual (but identical) fix in t/01_compile.t
- avoid shortening a database filename with Win32::GetShortPathName, because it makes corresponding journal files (-journal, .wal etc) with the shortened filename, and those journal files will not be recognized by other sqlite3 clients (which may lead to inconsistensy/database corruption).
- need to keep using Win32::GetShortPathName to make a parent directory canonical (so that sqlite3 can recognize a path with unicode characters correctly.)