[Intel-gfx] [PATCH i-g-t] igt/meta_test: Fix dmesg-warn test

Marta Lofstedt marta.lofstedt at intel.com
Tue Apr 25 13:12:55 UTC 2017


Add bracket to match with piglit dmesg filter.

Signed-off-by: Marta Lofstedt <marta.lofstedt at intel.com>
---
 tests/meta_test.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/meta_test.c b/tests/meta_test.c
index e09efba0..c02cf8bc 100644
--- a/tests/meta_test.c
+++ b/tests/meta_test.c
@@ -97,9 +97,9 @@ static void test_result(bool result)
 static void test_dmesg(bool pass)
 {
 	if (pass)
-		kmsg(KERN_DEBUG "drm: IGT inserted string.");
+		kmsg(KERN_DEBUG "[drm: IGT inserted string.");
 	else
-		kmsg(KERN_WARNING "drm: IGT inserted string.");
+		kmsg(KERN_WARNING "[drm: IGT inserted string.");
 }
 
 static void test_user_crash(void)
-- 
2.11.0



More information about the Intel-gfx mailing list