Test adding a destination twice
This commit is contained in:
@@ -50,6 +50,7 @@ START_TEST (test_logfile_location)
|
||||
dest = uc_log_new_file(FILE_NAME, UC_LL_DEBUG, 1);
|
||||
fail_if(dest == NULL);
|
||||
uc_log_add_destination(dest);
|
||||
uc_log_add_destination(dest); //adding this twice should do nothing
|
||||
|
||||
UC_LOGF(UC_LL_DEBUG, 0, "Lorum ipson %d\n", 1);
|
||||
UC_LOGF(UC_LL_DEBUG, 0, "Lorum ipson 2\n");
|
||||
|
||||
Reference in New Issue
Block a user