This fixes an omission in !5739, "Remove leftover test code for Windows". (cherry picked from commit 653db956f0)
653db956f0