From: Jérémie Galarneau Date: Thu, 25 Aug 2016 18:33:58 +0000 (-0400) Subject: Tests: NULL clock names are now allowed X-Git-Tag: v2.0.0-pre1~792 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=5e3d522e3e6d9d941d9860271f288d85aa84d3af Tests: NULL clock names are now allowed Signed-off-by: Jérémie Galarneau --- diff --git a/tests/lib/test_ctf_writer.c b/tests/lib/test_ctf_writer.c index 128d60ee..38bd3b71 100644 --- a/tests/lib/test_ctf_writer.c +++ b/tests/lib/test_ctf_writer.c @@ -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);