From 1765838e34d96c7eb2288cf899ab19f819fa5cb0 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Mon, 23 Mar 2015 11:00:20 +0100 Subject: [PATCH] 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 --- tests/gem_tiled_swapping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gem_tiled_swapping.c b/tests/gem_tiled_swapping.c index 2361dfcf..072bf9a5 100644 --- a/tests/gem_tiled_swapping.c +++ b/tests/gem_tiled_swapping.c @@ -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");