Fix: tests: missing argument in test output print statement
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 25 Nov 2019 23:58:56 +0000 (18:58 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 25 Nov 2019 23:58:56 +0000 (18:58 -0500)
The format string of this print statement uses a string and none
is provided. This results in a crash when running on ARM64
test boards.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/unit/test_fd_tracker.c

index a6a2a44d2a4bf45ff2b8cdee04f5919254917f25..94f54769d18b4f6c1fbf4c591d3c71ffe1d3598b 100644 (file)
@@ -700,7 +700,8 @@ void test_unlink(void)
 
        /* Open two handles to the same file. */
        ret = open_same_file(tracker, file_path, handles_to_open, handles);
-       ok(!ret, "Successfully %i handles to %s", handles_to_open);
+       ok(!ret, "Successfully opened %i handles to %s", handles_to_open,
+                       file_path);
        if (ret) {
                return;
        }
This page took 0.025519 seconds and 4 git commands to generate.