Revert "Fix regression spec on case-insensitive fs [skip ci]"

This reverts commit db349bd7aac4d10b43bd3dd1f7873bcdd10e4ffa.