ktest: Remove indexes from warnings check
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Mon, 18 Feb 2013 14:35:49 +0000 (09:35 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 18 Feb 2013 14:35:49 +0000 (09:35 -0500)
commit7328735cbf68b7cd4d7ef16e172013743cdc2bc4
tree66a6ff7a8d90f809d81c5f77e8219dc40e5c50a1
parent4c0b67a27d96e01a4b4ede2fda57da9f7c50af21
ktest: Remove indexes from warnings check

The index of a line where a warning is tested can be returned
differently on different versions of gcc (or same version compiled
differently). That is, a tab + space can give different results. This
causes the warning check to produce a false positive. Removing the
index from the check fixes this issue.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
tools/testing/ktest/ktest.pl