tests: quickly check if the glob line already matches the output
This happens when a path with "/" as only glob char is matched on a non windows
platform. (Currently one third of all glob matches.)
The slowdown on windows and the speedup on other os are neglectable.
[ original upstream message ]
syntax: glob
*.pyc
*.pyo
*~
*.swp
*.orig
*.rej
.DS_Store
build/*
MANIFEST