alsa.audio: add debug logs
[AROS.git] / test / clib / strptime.c
blobe6e1a66d1562078a7a5bc865a2025c6e55f0a6e9
1 /*
2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <time.h>
7 #include "test.h"
8 #include <stdio.h>
10 int main()
12 struct tm tm;
13 TEST((strptime("06:07:08 24.04.1982", "%H:%M:%S %e.%m.%Y", &tm) != NULL));
14 TEST((tm.tm_year == 82));
15 TEST((tm.tm_mon == 3));
16 TEST((tm.tm_mday == 24));
17 TEST((tm.tm_hour == 6));
18 TEST((tm.tm_min == 7));
19 TEST((tm.tm_sec == 8));
20 return 0;
23 void cleanup()