summaryrefslogtreecommitdiff
path: root/lib/nss_wrapper
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-05-29 22:54:07 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-05-30 11:12:24 +0200
commitf1d7d6d4df64b74ce00498e6cd9e49b2c0ec7ea0 (patch)
treebdfdbfa5d040f747894aebb2ef4097eece3dff29 /lib/nss_wrapper
parent33c633df0bb49551a833d1bf86db0825b8007546 (diff)
downloadsamba-f1d7d6d4df64b74ce00498e6cd9e49b2c0ec7ea0.tar.gz
samba-f1d7d6d4df64b74ce00498e6cd9e49b2c0ec7ea0.tar.bz2
samba-f1d7d6d4df64b74ce00498e6cd9e49b2c0ec7ea0.zip
nss_wrapper/testsuite.c - make sure to test always the "NSS wrapper" calls
This should fix bug #7319 and #7320.
Diffstat (limited to 'lib/nss_wrapper')
-rw-r--r--lib/nss_wrapper/testsuite.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/nss_wrapper/testsuite.c b/lib/nss_wrapper/testsuite.c
index da1a2675a2..9f0b1caa09 100644
--- a/lib/nss_wrapper/testsuite.c
+++ b/lib/nss_wrapper/testsuite.c
@@ -20,9 +20,13 @@
*/
#include "includes.h"
+
+#ifndef NSS_WRAPPER
+#define NSS_WRAPPER
+#endif
+
#include "torture/torture.h"
#include "lib/replace/system/passwd.h"
-#include "lib/nss_wrapper/nss_wrapper.h"
static bool copy_passwd(struct torture_context *tctx,
const struct passwd *pwd,