On (03/06/14 11:08), Jakub Hrozek wrote:
On Tue, Jun 03, 2014 at 09:34:29AM +0200, Lukas Slebodnik wrote:
> On (02/06/14 20:12), Jakub Hrozek wrote:
> >Hi,
> >
> >this is another prerequisite to having the IFP responder in sssd-1-11.
> >Only Makefile.am had to be changed.
>
> >From ae989d7793117078fa63e67c68eaade71ca38ad6 Mon Sep 17 00:00:00 2001
> >From: Jakub Hrozek <jhrozek(a)redhat.com>
> >Date: Fri, 18 Apr 2014 14:58:57 +0200
> >Subject: [PATCH 1/3] TESTS: Create a default sss_names_ctx in
> > create_dom_test_ctx
> >MIME-Version: 1.0
> >Content-Type: text/plain; charset=UTF-8
> >Content-Transfer-Encoding: 8bit
> >
> >This would allow to call create_dom_test_ctx from tests that expect to
> >be able to parse input with a regular expression just like a responder
> >would do with an input from a client.
> >
> >Reviewed-by: Pavel Březina <pbrezina(a)redhat.com>
> >
> >(cherry picked from commit e4b4b669e0c1ef5ec3be04768edf2565a7bac5a1)
> >
> >Conflicts:
> > src/tests/common.h
> >---
> > src/tests/common.h | 2 ++
> > src/tests/common_dom.c | 12 ++++++++++++
> > 2 files changed, 14 insertions(+)
> >
> >diff --git a/src/tests/common.h b/src/tests/common.h
> >index
ba3b3a7490ec5bd0e75c5f2f66c39542ca0c37ee..0b19168379b398e68b7acf9921d6d52f21fc55ec 100644
> >--- a/src/tests/common.h
> >+++ b/src/tests/common.h
> >@@ -62,6 +62,8 @@ struct sss_test_ctx {
> > struct confdb_ctx *confdb;
> > struct tevent_context *ev;
> > struct sss_domain_info *dom;
> >+ struct sss_names_ctx *nctx;
> >+ char *confdb_path;
> You added confdb_path to strunct sss_test_ctx, but you did not baackported
> other changes from commit
>
> commit 5a22be7f84f85d6b25aa277ac78ee34fac95dd42
> Author: Pavel Březina <pbrezina(a)redhat.com>
> Date: Tue Feb 18 13:34:32 2014 +0100
>
> tests: add confdb_path to sss_test_ctx
>
> LS
OK, attached are patches with Pavel's patch included as well.
ACK
LS