test-proc-cmdline: use test_setup_logging()
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include "proc-cmdline.h"
|
||||
#include "special.h"
|
||||
#include "string-util.h"
|
||||
#include "tests.h"
|
||||
#include "util.h"
|
||||
|
||||
static int obj;
|
||||
@@ -213,8 +214,7 @@ static void test_proc_cmdline_key_startswith(void) {
|
||||
}
|
||||
|
||||
int main(void) {
|
||||
log_parse_environment();
|
||||
log_open();
|
||||
test_setup_logging(LOG_INFO);
|
||||
|
||||
test_proc_cmdline_parse();
|
||||
test_proc_cmdline_override();
|
||||
|
||||
Reference in New Issue
Block a user