40 "%04d-%02d-%02d %02d:%02d:%02d.%06d %+05d [%d %s]%s",
69 ABTS_ASSERT(tc,
"apr_time and OS time do not agree",
107#define CHK_FIELD(f) \
108 ABTS_ASSERT(tc, "Mismatch in " #f, posix_exp->f == xt.f)
void abts_run_test(abts_suite *ts, test_func f, void *value)
#define ABTS_NOT_IMPL(a, b)
#define ABTS_STR_EQUAL(a, b, c)
#define ABTS_ASSERT(a, b, c)
#define APR_ASSERT_SUCCESS(tc, ctxt, rv)
APR Miscellaneous library routines.
APR general purpose library routines.
const char int apr_pool_t * pool
apr_size_t apr_size_t const char apr_time_exp_t * tm
APR_DECLARE_DATA const char apr_day_snames[7][4]
#define apr_time_sec(time)
static void test_2038(abts_case *tc, void *data)
static void test_ctime(abts_case *tc, void *data)
static void test_strftimeoffset(abts_case *tc, void *data)
static void test_strftimesmall(abts_case *tc, void *data)
static char * print_time(apr_pool_t *pool, const apr_time_exp_t *xt)
static void test_exp_tz(abts_case *tc, void *data)
static void test_exp_lt(abts_case *tc, void *data)
static void test_now(abts_case *tc, void *data)
abts_suite * testtime(abts_suite *suite)
static void test_exp_get_gmt(abts_case *tc, void *data)
static apr_time_t leap_year_now
static void test_exp_get_lt(abts_case *tc, void *data)
static void test_imp_gmt(abts_case *tc, void *data)
static void test_rfcstr(abts_case *tc, void *data)
static void test_strftime(abts_case *tc, void *data)
static void test_gmtstr(abts_case *tc, void *data)
apr_status_t apr_strftime(char *s, apr_size_t *retsize, apr_size_t max, const char *format, apr_time_exp_t *xt)
apr_status_t apr_ctime(char *date_str, apr_time_t t)
apr_status_t apr_rfc822_date(char *date_str, apr_time_t t)