In the ctf writer test we execl() some libtool wrappers that get confused
when arg[0] is not the full path to the binary.
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
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);
}
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);
}