tests/gem_tiled_swapping: Fix up L-shaped testing

I've fumbled this, resulting in this this skipping everywhere.
Unfortunately no QA test report for this regression ...

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter 2015-03-23 11:00:20 +01:00
parent a5934091b8
commit 1765838e34

View File

@ -169,7 +169,7 @@ static void check_memory_layout(void)
igt_assert(tiling_debugfs_file);
while (getline(&line, &sz, tiling_debugfs_file) > 0) {
if (strstr(line, "L-shaped") != 0)
if (strstr(line, "L-shaped") == NULL)
continue;
igt_skip("L-shaped memory configuration detected\n");