diff options
author | Michal Zidek <mzidek@redhat.com> | 2013-03-18 12:47:35 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-03-20 13:04:10 +0100 |
commit | dfe84158c49e44f2207b94d25e61ab4f3fe38366 (patch) | |
tree | 57275ec15303d6a31937911f01dcc5097edb7eb6 /src/tests/sysdb_ssh-tests.c | |
parent | aa7202c8ae677becd6c91d6a27a607fe0f3995ee (diff) | |
download | sssd-dfe84158c49e44f2207b94d25e61ab4f3fe38366.tar.gz sssd-dfe84158c49e44f2207b94d25e61ab4f3fe38366.tar.xz sssd-dfe84158c49e44f2207b94d25e61ab4f3fe38366.zip |
tests: Print warning if LDB_MODULES_PATH is not set
Print warning if sysdb-tests or sysdb-ssh test are run
individually and LDB_MODULES_PATH was not set.
https://fedorahosted.org/sssd/ticket/1820
Diffstat (limited to 'src/tests/sysdb_ssh-tests.c')
-rw-r--r-- | src/tests/sysdb_ssh-tests.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tests/sysdb_ssh-tests.c b/src/tests/sysdb_ssh-tests.c index c69901638..95c57a7eb 100644 --- a/src/tests/sysdb_ssh-tests.c +++ b/src/tests/sysdb_ssh-tests.c @@ -405,6 +405,11 @@ int main(int argc, const char *argv[]) DEBUG_INIT(debug_level); + if (!ldb_modules_path_is_set()) { + fprintf(stderr, "Warning: LDB_MODULES_PATH is not set, " + "will use LDB plugins installed in system paths.\n"); + } + tests_set_cwd(); s = create_sysdb_ssh_suite(); |