/*
Authors:
Pavel Reichl <preichl@redhat.com>
Copyright (C) 2015 Red Hat
SSSD tests - ldap auth
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 <stdlib.h>
#include <stddef.h>
#include <setjmp.h>
#include <unistd.h>
#include <cmocka.h>
#include "tests/common_check.h"
#include "providers/ldap/ldap_auth.h"
#include "tests/cmocka/test_expire_common.h"
struct check_pwexpire_policy_wrap_indata {
void *time_fmt;
};
{
(struct check_pwexpire_policy_wrap_indata*) in;
}
{
NULL, 0);
NULL, 0);
NULL, 0);
/* changing time zone has no effect as time of expiration is in UTC */
expire_test_tz("GST-2",
(void*)&data,
(void*)&ret);
expire_test_tz("GST-2",
(void*)&data,
(void*)&ret);
}
int main(void)
{
};
}