TestNullPointer: Added test configuration for 'memcmp' that is needed by a test

This commit is contained in:
Daniel Marjamäki 2014-01-26 16:32:28 +01:00
parent 0c47555423
commit 87b67e9b77
1 changed files with 2 additions and 1 deletions

View File

@ -90,7 +90,8 @@ private:
// cfg
const char cfg[] = "<?xml version=\"1.0\"?>\n"
"<def>\n"
" <function name=\"strcpy\"> <arg nr=\"1\"><not-null/></arg> </function>\n"
" <function name=\"memcmp\"> <arg nr=\"1\"><not-null/></arg> <arg nr=\"2\"><not-null/></arg> </function>\n"
" <function name=\"strcpy\"> <arg nr=\"1\"><not-null/></arg> <arg nr=\"2\"><not-null/></arg> </function>\n"
"</def>";
settings.library.loadxmldata(cfg, sizeof(cfg));