Fix: ctf writer test on Cygwin
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 6 Apr 2017 19:00:44 +0000 (15:00 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 5 Jul 2017 19:40:37 +0000 (15:40 -0400)
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>
tests/lib/test_ctf_writer.c

index 060b68ab61f0ef740a9022ed8c80b88ecfa69f81..3a7d6329af515901174d853db36505fec4bc9edc 100644 (file)
@@ -125,7 +125,7 @@ void validate_trace(char *parser_path, char *trace_path)
                        goto result;
                }
 
-               execl(parser_path, "babeltrace", trace_path, NULL);
+               execl(parser_path, parser_path, trace_path, NULL);
                perror("# Could not launch the babeltrace process");
                exit(-1);
        }
This page took 0.026493 seconds and 4 git commands to generate.