summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/src
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2014-09-24 17:12:56 +1000
committerVolker Lendecke <vl@samba.org>2014-10-06 12:34:33 +0200
commit3105737c4b38b3cb4f9408cfc82cf8b49bc3fb2e (patch)
tree2df6b80e0b718f9dcbbdf9428652aa363855c8ae /ctdb/tests/src
parent1c8c0be6f97f74169c0b46be4df2245aa631186a (diff)
downloadsamba-3105737c4b38b3cb4f9408cfc82cf8b49bc3fb2e.tar.gz
samba-3105737c4b38b3cb4f9408cfc82cf8b49bc3fb2e.tar.xz
samba-3105737c4b38b3cb4f9408cfc82cf8b49bc3fb2e.zip
ctdb-logging: Change LogLevel to DEBUGLEVEL
For compatibility with current Samba debug.[ch]. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'ctdb/tests/src')
-rw-r--r--ctdb/tests/src/ctdb_functest.c4
-rw-r--r--ctdb/tests/src/ctdb_porting_tests.c2
-rw-r--r--ctdb/tests/src/ctdb_takeover_tests.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/ctdb/tests/src/ctdb_functest.c b/ctdb/tests/src/ctdb_functest.c
index 16ca4fddd6..9eaae55765 100644
--- a/ctdb/tests/src/ctdb_functest.c
+++ b/ctdb/tests/src/ctdb_functest.c
@@ -162,9 +162,9 @@ static void usage(void)
int main(int argc, const char *argv[])
{
- LogLevel = DEBUG_DEBUG;
+ DEBUGLEVEL = DEBUG_DEBUG;
if (getenv("CTDB_TEST_LOGLEVEL")) {
- LogLevel = atoi(getenv("CTDB_TEST_LOGLEVEL"));
+ DEBUGLEVEL = atoi(getenv("CTDB_TEST_LOGLEVEL"));
}
if (argc < 2) {
diff --git a/ctdb/tests/src/ctdb_porting_tests.c b/ctdb/tests/src/ctdb_porting_tests.c
index bd78361086..e95c25d978 100644
--- a/ctdb/tests/src/ctdb_porting_tests.c
+++ b/ctdb/tests/src/ctdb_porting_tests.c
@@ -264,7 +264,7 @@ int main(int argc, const char *argv[])
int extra_argc = 0;
poptContext pc;
- LogLevel = DEBUG_INFO;
+ DEBUGLEVEL = DEBUG_INFO;
pc = poptGetContext(argv[0], argc, argv, popt_options, POPT_CONTEXT_KEEP_FIRST);
diff --git a/ctdb/tests/src/ctdb_takeover_tests.c b/ctdb/tests/src/ctdb_takeover_tests.c
index 04b49e879b..8b07325d04 100644
--- a/ctdb/tests/src/ctdb_takeover_tests.c
+++ b/ctdb/tests/src/ctdb_takeover_tests.c
@@ -598,9 +598,9 @@ static void usage(void)
int main(int argc, const char *argv[])
{
- LogLevel = DEBUG_DEBUG;
+ DEBUGLEVEL = DEBUG_DEBUG;
if (getenv("CTDB_TEST_LOGLEVEL")) {
- LogLevel = atoi(getenv("CTDB_TEST_LOGLEVEL"));
+ DEBUGLEVEL = atoi(getenv("CTDB_TEST_LOGLEVEL"));
}
if (argc < 2) {