Test suite should not copy in un-versioned files
This is something like a follow on to #12112 (closed). Basically, this bug was fixed by blacklisting the copying of some files. Well I observed that for some test-cases I was working on, where I specified
-outputdir, my local output directory was being copied... because its file name didn't match.
Wouldn't it be better to just not copy any files which are not versioned? I guess this won't work if the test suite is being run from not Git, but if Git is available that seems like a more accurate test.