Tests: NULL clock names are now allowed
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 25 Aug 2016 18:33:58 +0000 (14:33 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 27 May 2017 17:41:38 +0000 (13:41 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/lib/test_ctf_writer.c

index 128d60eec72dd91ba009f2de2a1bad8a2cd3456e..38bd3b714fecb8f6cd198df3dbf93f8cdc6a3e49 100644 (file)
@@ -3151,7 +3151,6 @@ int main(int argc, char **argv)
        /* Define a clock and add it to the trace */
        ok(bt_ctf_clock_create("signed") == NULL,
                "Illegal clock name rejected");
-       ok(bt_ctf_clock_create(NULL) == NULL, "NULL clock name rejected");
        clock = bt_ctf_clock_create(clock_name);
        ok(clock, "Clock created sucessfully");
        returned_clock_name = bt_ctf_clock_get_name(clock);
This page took 0.025692 seconds and 4 git commands to generate.