It turns out that AbstractGenericWebContextLoader provides a customizeContext() method, which I used to set a ResourceLoader which can handle bare file system paths, so I didn't need the test metadata-provider.xml file after all.