tdb2:tdbtorture: use TEST_DATA_PREFIX for files
[ira/wip.git] / lib / nss_wrapper / testsuite.c
index da1a2675a2726c930804327fbf46bf0bf9a64e31..3d3f748da4eeb4f290c0672210a37471b672dd56 100644 (file)
 */
 
 #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,
@@ -941,7 +945,7 @@ static bool test_nwrap_duplicates(struct torture_context *tctx)
 
 struct torture_suite *torture_local_nss_wrapper(TALLOC_CTX *mem_ctx)
 {
-       struct torture_suite *suite = torture_suite_create(mem_ctx, "NSS-WRAPPER");
+       struct torture_suite *suite = torture_suite_create(mem_ctx, "nss-wrapper");
 
        torture_suite_add_simple_test(suite, "enumeration", test_nwrap_enumeration);
        torture_suite_add_simple_test(suite, "reentrant enumeration", test_nwrap_reentrant_enumeration);