summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-02-18 23:22:52 +0100
committerGünther Deschner <gd@samba.org>2010-02-18 23:25:16 +0100
commit9b9c9fd1759eb1f76cb54d0b6aec600c3c3a8f8f (patch)
treebfddd274704f1478ab31d3cde68df87082330e4f /lib
parentc0ebca237c6748365b2400529e02b5c8342e6ecc (diff)
downloadsamba-9b9c9fd1759eb1f76cb54d0b6aec600c3c3a8f8f.tar.gz
samba-9b9c9fd1759eb1f76cb54d0b6aec600c3c3a8f8f.tar.bz2
samba-9b9c9fd1759eb1f76cb54d0b6aec600c3c3a8f8f.zip
s4-smbtorture: be more verbose in LOCAL-NSS-WRAPPER.
Guenther
Diffstat (limited to 'lib')
-rw-r--r--lib/nss_wrapper/testsuite.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/nss_wrapper/testsuite.c b/lib/nss_wrapper/testsuite.c
index 02a10e36c1..3ecf48cfcd 100644
--- a/lib/nss_wrapper/testsuite.c
+++ b/lib/nss_wrapper/testsuite.c
@@ -772,8 +772,8 @@ static bool test_nwrap_membership(struct torture_context *tctx)
int i;
if (!old_pwd || !old_group) {
+ torture_comment(tctx, "ENV NSS_WRAPPER_PASSWD or NSS_WRAPPER_GROUP not set\n");
torture_skip(tctx, "nothing to test\n");
- return true;
}
torture_assert(tctx, test_nwrap_enum_passwd(tctx, &pwd, &num_pwd),
@@ -797,8 +797,8 @@ static bool test_nwrap_enumeration(struct torture_context *tctx)
const char *old_group = getenv("NSS_WRAPPER_GROUP");
if (!old_pwd || !old_group) {
+ torture_comment(tctx, "ENV NSS_WRAPPER_PASSWD or NSS_WRAPPER_GROUP not set\n");
torture_skip(tctx, "nothing to test\n");
- return true;
}
torture_assert(tctx, test_nwrap_passwd(tctx),
@@ -815,8 +815,8 @@ static bool test_nwrap_reentrant_enumeration(struct torture_context *tctx)
const char *old_group = getenv("NSS_WRAPPER_GROUP");
if (!old_pwd || !old_group) {
+ torture_comment(tctx, "ENV NSS_WRAPPER_PASSWD or NSS_WRAPPER_GROUP not set\n");
torture_skip(tctx, "nothing to test\n");
- return true;
}
torture_comment(tctx, "Testing re-entrant calls\n");
@@ -835,8 +835,8 @@ static bool test_nwrap_reentrant_enumeration_crosschecks(struct torture_context
const char *old_group = getenv("NSS_WRAPPER_GROUP");
if (!old_pwd || !old_group) {
+ torture_comment(tctx, "ENV NSS_WRAPPER_PASSWD or NSS_WRAPPER_GROUP not set\n");
torture_skip(tctx, "nothing to test\n");
- return true;
}
torture_comment(tctx, "Testing re-entrant calls with cross checks\n");