app/test: fix log check when default level is high
authorThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 4 May 2016 13:18:29 +0000 (15:18 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 24 May 2016 15:00:55 +0000 (17:00 +0200)
commitfb847267ba44f5387f680b6bf378e8bfb28c9532
treecc96fff3ec285d7dcc7739d8a6bc916c26797c62
parentb07d06a81a889d091f22c0ab85208f931a47582a
app/test: fix log check when default level is high

The log unit test was checking display of low priority messages.
It was not working if RTE_LOG_LEVEL is not RTE_LOG_DEBUG.
It is even easier to see since the default level is INFO (9b9d7ca).

Now the test use ERR and CRIT levels which should be always enabled
while not trigerring syslog output on the console.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
app/test/autotest_test_funcs.py
app/test/test_logs.c