/*
SSSD
sysdb_utils - Tests for various sysdb calls
Authors:
Sumit Bose <sbose@redhat.com>
Copyright (C) 2015 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 "tests/cmocka/common_mock.h"
0x85, 0x74, 0x7d, 0xb0, 0x47, 0x7f, 0x96, 0x2e};
{
int ret;
const char *guid;
"def");
dest_attrs, "def");
dest_attrs, "def");
dest_attrs, "def");
dest_attrs, "ghi");
/* check objectGUID with length other than 16 */
dest_attrs, "jkl");
}
{
int ret;
}
{
int rv;
int opt;
};
};
/* Set debug level to invalid value so we can decide if -d 0 was used. */
switch(opt) {
default:
return 1;
}
}
return rv;
}