projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: tests: app unregistering is not guaranteed by app lifetime
[lttng-tools.git]
/
tests
/
unit
/
test_utils_parse_time_suffix.c
diff --git
a/tests/unit/test_utils_parse_time_suffix.c
b/tests/unit/test_utils_parse_time_suffix.c
index 09708edd03e913ec13d57c5492649c9669a5e281..95aac5561d13edca8091359357c723c24db6a9d7 100644
(file)
--- a/
tests/unit/test_utils_parse_time_suffix.c
+++ b/
tests/unit/test_utils_parse_time_suffix.c
@@
-5,7
+5,6
@@
*
*/
*
*/
-#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <inttypes.h>
#include <string.h>
#include <stdio.h>
#include <inttypes.h>
@@
-20,7
+19,7
@@
int lttng_opt_verbose = 3;
int lttng_opt_mi;
struct valid_test_input {
int lttng_opt_mi;
struct valid_test_input {
- char *input;
+ c
onst c
har *input;
uint64_t expected_result;
};
uint64_t expected_result;
};
@@
-56,7
+55,7
@@
static struct valid_test_input valid_tests_inputs[] = {
static const int num_valid_tests = sizeof(valid_tests_inputs) / sizeof(valid_tests_inputs[0]);
/* Invalid test cases */
static const int num_valid_tests = sizeof(valid_tests_inputs) / sizeof(valid_tests_inputs[0]);
/* Invalid test cases */
-static char *invalid_tests_inputs[] = {
+static c
onst c
har *invalid_tests_inputs[] = {
"",
" ",
"-1",
"",
" ",
"-1",
This page took
0.025402 seconds
and
4
git commands to generate.