-
Michael Pyne authored
The Mojolicious work exposed this bug but it's a bug all the same. The way that Perl's glob function works differs based on whether you use it in a scalar (including boolean) context or whether you use it in a list context. I had the parentheses in this test to try to force a list context but that's apparently not sufficient as I had every fourth Qt module failing to build due to this glob failing, in my Mojolicious testing. The revised test successfully forces glob() to use list context, which means it always returns the same values for a given directory instead of acting as a non-reentrant iterator.
698cc6d3