projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests: namespace TAP_AUTOTIME under LTTNG_TESTS
[lttng-tools.git]
/
tests
/
utils
/
tap
/
tap.c
diff --git
a/tests/utils/tap/tap.c
b/tests/utils/tap/tap.c
index c92c14140e4404b5e506d3571e9029715b8863d2..687ea22f28a9adf7f787dc473b5313d1da129cf3 100644
(file)
--- a/
tests/utils/tap/tap.c
+++ b/
tests/utils/tap/tap.c
@@
-185,16
+185,16
@@
void _tap_init(void)
setbuf(stdout, 0);
/*
setbuf(stdout, 0);
/*
- * Check if the
TAP_AUTOTIME environment variable is set and
- * contains at least one byte.
+ * Check if the
LTTNG_TESTS_TAP_AUTOTIME environment variable
+ *
is set and
contains at least one byte.
*/
*/
- const char *autotime_env = getenv("TAP_AUTOTIME");
+ const char *autotime_env = getenv("
LTTNG_TESTS_
TAP_AUTOTIME");
if (autotime_env != NULL && strnlen(autotime_env, 1)) {
int tap_autotime;
/*
if (autotime_env != NULL && strnlen(autotime_env, 1)) {
int tap_autotime;
/*
- * Check if
TAP_AUTOTIME is '0', also check errno
- * because strtol() can return '0' on error.
+ * Check if
LTTNG_TESTS_TAP_AUTOTIME is '0', also check
+ *
errno
because strtol() can return '0' on error.
*/
errno = 0;
tap_autotime = strtol(autotime_env, NULL, 10);
*/
errno = 0;
tap_autotime = strtol(autotime_env, NULL, 10);
This page took
0.024308 seconds
and
4
git commands to generate.