diff --git a/test/test1.c b/test/test1.c index 641a1935..c7f1082a 100644 --- a/test/test1.c +++ b/test/test1.c @@ -1063,7 +1063,7 @@ int main(int argc, char** argv) fprintf(xml, "\n", (int)(ARRAY_SIZE(tests) - 1)); setenv("MQTT_C_CLIENT_TRACE", "ON", 1); - setenv("MQTT_C_CLIENT_TRACE_LEVEL", "ERROR", 1); + setenv("MQTT_C_CLIENT_TRACE_LEVEL", "ERROR", 0); getopts(argc, argv); diff --git a/test/test2.c b/test/test2.c index 9d1ff616..a863e798 100644 --- a/test/test2.c +++ b/test/test2.c @@ -683,7 +683,7 @@ int main(int argc, char** argv) fprintf(xml, "\n", (int)(ARRAY_SIZE(tests) - 1)); setenv("MQTT_C_CLIENT_TRACE", "ON", 1); - setenv("MQTT_C_CLIENT_TRACE_LEVEL", "ERROR", 1); + setenv("MQTT_C_CLIENT_TRACE_LEVEL", "ERROR", 0); getopts(argc, argv); diff --git a/test/test3.c b/test/test3.c index 9b87e835..9452514d 100644 --- a/test/test3.c +++ b/test/test3.c @@ -1530,7 +1530,7 @@ int main(int argc, char** argv) fprintf(xml, "\n", (int)(ARRAY_SIZE(tests) - 1)); setenv("MQTT_C_CLIENT_TRACE", "ON", 1); - setenv("MQTT_C_CLIENT_TRACE_LEVEL", "ERROR", 1); + setenv("MQTT_C_CLIENT_TRACE_LEVEL", "ERROR", 0); getopts(argc, argv); if (options.test_no == 0) { /* run all the tests */