projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests: fix: leak of some attributes of ltt_ust_session
[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..b80e69c621a38ed274abd5e88e01b83d4e268646 100644
(file)
--- a/
tests/unit/test_utils_parse_time_suffix.c
+++ b/
tests/unit/test_utils_parse_time_suffix.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2015
Simon Marchi <simon.marchi@polymtl.ca>
+ * Copyright (C) 2015
EfficiOS Inc.
*
* SPDX-License-Identifier: GPL-2.0-only
*
*
* SPDX-License-Identifier: GPL-2.0-only
*
@@
-20,7
+20,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
+56,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.024663 seconds
and
4
git commands to generate.