/*
Authors:
Petr Čech <pcech@redhat.com>
Copyright (C) 2016 Red Hat
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
#include <cmocka.h>
#include <popt.h>
#include "responder/common/negcache.h"
#include "responder/common/negcache_files.h"
#include "responder/common/responder.h"
struct test_user {
const char *name;
{ "test_user2", 1002, 50002 } };
struct sss_domain_info *domain)
{
char *fqname;
for (int i = 0; i < 2; i++) {
}
}
struct test_group {
const char *name;
{ "test_group2", 50002 } };
struct ncache_test_ctx {
};
struct sss_domain_info *domain)
{
char *fqname;
for (int i = 0; i < 2; i++) {
}
}
/* register_cli_protocol_version is required in test since it links with
* responder_common.c module
*/
{
};
}
{
return 0;
}
{
return 0;
}
{
char *fqdn;
int ret;
return ret;
}
{
char *fqdn;
int ret;
return ret;
}
struct sss_domain_info *dom,
const char *name)
{
char *fqdn;
int ret;
return ret;
}
struct sss_domain_info *dom,
const char *name)
{
char *fqdn;
int ret;
return ret;
}
/* user utils */
{
int ret;
}
{
int ret;
}
/* user tests */
{
}
{
}
{
}
{
}
/* uid utils */
{
int ret;
}
{
int ret;
}
/* uid tests */
{
}
{
}
{
}
{
}
/* group utils */
{
int ret;
}
{
int ret;
}
/* group tests */
{
}
{
}
{
}
{
}
/* gid utils */
{
int ret;
}
{
int ret;
}
/* uid tests */
{
}
{
}
{
}
{
}
{
int rv;
int opt;
};
/* user */
/* uid */
/* group */
/* gid */
};
/* Set debug level to invalid value so we can deside if -d 0 was used. */
switch (opt) {
default:
return 1;
}
}
return rv;
}