Fix: ctf writer test on Cygwin
[babeltrace.git] / tests / lib / test_ctf_writer.c
index 961df795356855a48c6ea481263065169f16d7a7..53613c916acd9dc7f2e63e69c052b0e186cdae49 100644 (file)
@@ -94,7 +94,7 @@ void validate_metadata(char *parser_path, char *metadata_path)
                        goto result;
                }
 
-               execl(parser_path, "ctf-parser-test", (char *) NULL);
+               execl(parser_path, parser_path, (char *) NULL);
                perror("# Could not launch the ctf metadata parser process");
                exit(-1);
        }
@@ -201,7 +201,7 @@ void validate_trace(char *parser_path, char *trace_path)
                        goto result;
                }
 
-               execl(parser_path, "babeltrace", trace_path, (char *) NULL);
+               execl(parser_path, parser_path, trace_path, (char *) NULL);
                perror("# Could not launch the babeltrace process");
                exit(-1);
        }
This page took 0.023319 seconds and 4 git commands to generate.