validation: fix a test a bit
commit4f2c67abea076e769dbf17a83aa916fbcaa1b2d3
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 28 Jul 2015 09:55:01 +0000 (28 12:55 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 28 Jul 2015 09:55:01 +0000 (28 12:55 +0300)
treeca4e0fcb4d61f830956734ae9f6b619155bc6d1d
parent7f5f94e2e5f7501bc4dac8de95cc2b5802b38092
validation: fix a test a bit

I changed the check_deref_check.c test so it broke this tests.  It still
doesn't pass unfortunately because check_deref.c is buggy.  To be honest,
I think I should just delete check_deref.c because it does too much stuff.
I want to move the uninitialized variable checking into a different file
which does it better.  I think I maybe should delete the NULL deref bit
because it turns out that is terribly complicated and false positive prone.
The code which generates warnings is normally really hard for a human being
to read as well.  I will consider that more later.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
validation/sm_null_deref.c