Tests: Don't use diag() to output errors from child processes
[babeltrace.git] / tests / lib / test_ctf_writer.c
index 52106f2d6e581044a0dbd230fec9744ffe66044f..e58c6cac075623b3f51046806f547ea9a6ed839d 100644 (file)
@@ -158,12 +158,12 @@ result:
 
                /* Output the metadata and parser output as diagnostic */
                while (getline(&line, &len, metadata_fp) > 0) {
-                       diag("%s", line);
+                       fprintf(stderr, "# %s", line);
                }
 
                rewind(parser_output_fp);
                while (getline(&line, &len, parser_output_fp) > 0) {
-                       diag("%s", line);
+                       fprintf(stderr, "# %s", line);
                }
 
                free(line);
This page took 0.024166 seconds and 4 git commands to generate.