glsl/tests: Use splitlines() instead of strip()