source: rtems/testsuites/psxtests/psxtime/psxtime.scn @ 947015f

4.115
Last change on this file since 947015f was 947015f, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 15, 2010 at 1:59:25 PM

2010-07-15 Bharath Suri <bharath.s.jois@…>

PR 1617/testing

  • psxfile01/test.c, psxfile01/psxfile01.scn: Added new cases to exercise_link_r and _unlink_r
  • psxstat/test.c, psxstat/psxstat.scn: Added new cases to exercise _lstat_r and _stat_r.
  • psxtime/test.c, psxtime/psxtime.scn: Added new cases to exercise _gettimeofday.
  • Property mode set to 100644
File size: 10.7 KB
Line 
1
2*** POSIX TIME OF DAY TEST ***
3gettimeofday( NULL, NULL ) - EFAULT
4_gettimeofday( NULL, NULL ) - EFAULT
5rtems_clock_set          12:45:00   01/01/1988
6adjtime - NULL delta - EINVAL
7adjtime - delta out of range - EINVAL
8adjtime - delta too small - do nothing
9adjtime - delta too small - do nothing, olddelta=NULL
10adjtime - delta of one second forward, olddelta=NULL
11adjtime - delta of one second forward
12adjtime - delta of almost two seconds forward
13adjtime - delta of almost one second forward which bumps second
14rtems_clock_get_tod          12:45:05   01/01/1988
15rtems_clock_set          12:45:00   01/01/1988
16rtems_clock_get_tod          12:45:00   01/01/1988
17gettimeofday: Fri Jan  1 12:45:00 1988
18time:         Fri Jan  1 12:45:00 1988
19localtime:    Fri Jan  1 12:45:00 1988
20gmtime:       Fri Jan  1 12:45:00 1988
21
22rtems_clock_get_tod          12:45:05   01/01/1988
23gettimeofday: Fri Jan  1 12:45:05 1988
24time:         Fri Jan  1 12:45:05 1988
25localtime:    Fri Jan  1 12:45:05 1988
26gmtime:       Fri Jan  1 12:45:05 1988
27
28rtems_clock_get_tod          12:45:10   01/01/1988
29gettimeofday: Fri Jan  1 12:45:10 1988
30time:         Fri Jan  1 12:45:10 1988
31localtime:    Fri Jan  1 12:45:10 1988
32gmtime:       Fri Jan  1 12:45:10 1988
33
34rtems_clock_get_tod          12:45:15   01/01/1988
35gettimeofday: Fri Jan  1 12:45:15 1988
36time:         Fri Jan  1 12:45:15 1988
37localtime:    Fri Jan  1 12:45:15 1988
38gmtime:       Fri Jan  1 12:45:15 1988
39
40rtems_clock_get_tod          12:45:20   01/01/1988
41gettimeofday: Fri Jan  1 12:45:20 1988
42time:         Fri Jan  1 12:45:20 1988
43localtime:    Fri Jan  1 12:45:20 1988
44gmtime:       Fri Jan  1 12:45:20 1988
45
46rtems_clock_get_tod          12:45:25   01/01/1988
47gettimeofday: Fri Jan  1 12:45:25 1988
48time:         Fri Jan  1 12:45:25 1988
49localtime:    Fri Jan  1 12:45:25 1988
50gmtime:       Fri Jan  1 12:45:25 1988
51
52rtems_clock_set          09:00:00   12/31/1988
53rtems_clock_get_tod          09:00:00   12/31/1988
54gettimeofday: Sat Dec 31 09:00:00 1988
55time:         Sat Dec 31 09:00:00 1988
56localtime:    Sat Dec 31 09:00:00 1988
57gmtime:       Sat Dec 31 09:00:00 1988
58
59rtems_clock_get_tod          09:00:05   12/31/1988
60gettimeofday: Sat Dec 31 09:00:05 1988
61time:         Sat Dec 31 09:00:05 1988
62localtime:    Sat Dec 31 09:00:05 1988
63gmtime:       Sat Dec 31 09:00:05 1988
64
65rtems_clock_get_tod          09:00:10   12/31/1988
66gettimeofday: Sat Dec 31 09:00:10 1988
67time:         Sat Dec 31 09:00:10 1988
68localtime:    Sat Dec 31 09:00:10 1988
69gmtime:       Sat Dec 31 09:00:10 1988
70
71rtems_clock_get_tod          09:00:15   12/31/1988
72gettimeofday: Sat Dec 31 09:00:15 1988
73time:         Sat Dec 31 09:00:15 1988
74localtime:    Sat Dec 31 09:00:15 1988
75gmtime:       Sat Dec 31 09:00:15 1988
76
77rtems_clock_get_tod          09:00:20   12/31/1988
78gettimeofday: Sat Dec 31 09:00:20 1988
79time:         Sat Dec 31 09:00:20 1988
80localtime:    Sat Dec 31 09:00:20 1988
81gmtime:       Sat Dec 31 09:00:20 1988
82
83rtems_clock_get_tod          09:00:25   12/31/1988
84gettimeofday: Sat Dec 31 09:00:25 1988
85time:         Sat Dec 31 09:00:25 1988
86localtime:    Sat Dec 31 09:00:25 1988
87gmtime:       Sat Dec 31 09:00:25 1988
88
89rtems_clock_set          23:55:59   12/31/1999
90rtems_clock_get_tod          23:55:59   12/31/1999
91gettimeofday: Fri Dec 31 23:55:59 1999
92time:         Fri Dec 31 23:55:59 1999
93localtime:    Fri Dec 31 23:55:59 1999
94gmtime:       Fri Dec 31 23:55:59 1999
95
96rtems_clock_get_tod          23:56:04   12/31/1999
97gettimeofday: Fri Dec 31 23:56:04 1999
98time:         Fri Dec 31 23:56:04 1999
99localtime:    Fri Dec 31 23:56:04 1999
100gmtime:       Fri Dec 31 23:56:04 1999
101
102rtems_clock_get_tod          23:56:09   12/31/1999
103gettimeofday: Fri Dec 31 23:56:09 1999
104time:         Fri Dec 31 23:56:09 1999
105localtime:    Fri Dec 31 23:56:09 1999
106gmtime:       Fri Dec 31 23:56:09 1999
107
108rtems_clock_get_tod          23:56:14   12/31/1999
109gettimeofday: Fri Dec 31 23:56:14 1999
110time:         Fri Dec 31 23:56:14 1999
111localtime:    Fri Dec 31 23:56:14 1999
112gmtime:       Fri Dec 31 23:56:14 1999
113
114rtems_clock_get_tod          23:56:19   12/31/1999
115gettimeofday: Fri Dec 31 23:56:19 1999
116time:         Fri Dec 31 23:56:19 1999
117localtime:    Fri Dec 31 23:56:19 1999
118gmtime:       Fri Dec 31 23:56:19 1999
119
120rtems_clock_get_tod          23:56:24   12/31/1999
121gettimeofday: Fri Dec 31 23:56:24 1999
122time:         Fri Dec 31 23:56:24 1999
123localtime:    Fri Dec 31 23:56:24 1999
124gmtime:       Fri Dec 31 23:56:24 1999
125
126rtems_clock_set          00:01:30   06/30/1999
127rtems_clock_get_tod          00:01:30   06/30/1999
128gettimeofday: Wed Jun 30 00:01:30 1999
129time:         Wed Jun 30 00:01:30 1999
130localtime:    Wed Jun 30 00:01:30 1999
131gmtime:       Wed Jun 30 00:01:30 1999
132
133rtems_clock_get_tod          00:01:35   06/30/1999
134gettimeofday: Wed Jun 30 00:01:35 1999
135time:         Wed Jun 30 00:01:35 1999
136localtime:    Wed Jun 30 00:01:35 1999
137gmtime:       Wed Jun 30 00:01:35 1999
138
139rtems_clock_get_tod          00:01:40   06/30/1999
140gettimeofday: Wed Jun 30 00:01:40 1999
141time:         Wed Jun 30 00:01:40 1999
142localtime:    Wed Jun 30 00:01:40 1999
143gmtime:       Wed Jun 30 00:01:40 1999
144
145rtems_clock_get_tod          00:01:45   06/30/1999
146gettimeofday: Wed Jun 30 00:01:45 1999
147time:         Wed Jun 30 00:01:45 1999
148localtime:    Wed Jun 30 00:01:45 1999
149gmtime:       Wed Jun 30 00:01:45 1999
150
151rtems_clock_get_tod          00:01:50   06/30/1999
152gettimeofday: Wed Jun 30 00:01:50 1999
153time:         Wed Jun 30 00:01:50 1999
154localtime:    Wed Jun 30 00:01:50 1999
155gmtime:       Wed Jun 30 00:01:50 1999
156
157rtems_clock_get_tod          00:01:55   06/30/1999
158gettimeofday: Wed Jun 30 00:01:55 1999
159time:         Wed Jun 30 00:01:55 1999
160localtime:    Wed Jun 30 00:01:55 1999
161gmtime:       Wed Jun 30 00:01:55 1999
162
163rtems_clock_set          00:15:59   01/01/2000
164rtems_clock_get_tod          00:15:59   01/01/2000
165gettimeofday: Sat Jan  1 00:15:59 2000
166time:         Sat Jan  1 00:15:59 2000
167localtime:    Sat Jan  1 00:15:59 2000
168gmtime:       Sat Jan  1 00:15:59 2000
169
170rtems_clock_get_tod          00:16:04   01/01/2000
171gettimeofday: Sat Jan  1 00:16:04 2000
172time:         Sat Jan  1 00:16:04 2000
173localtime:    Sat Jan  1 00:16:04 2000
174gmtime:       Sat Jan  1 00:16:04 2000
175
176rtems_clock_get_tod          00:16:09   01/01/2000
177gettimeofday: Sat Jan  1 00:16:09 2000
178time:         Sat Jan  1 00:16:09 2000
179localtime:    Sat Jan  1 00:16:09 2000
180gmtime:       Sat Jan  1 00:16:09 2000
181
182rtems_clock_get_tod          00:16:14   01/01/2000
183gettimeofday: Sat Jan  1 00:16:14 2000
184time:         Sat Jan  1 00:16:14 2000
185localtime:    Sat Jan  1 00:16:14 2000
186gmtime:       Sat Jan  1 00:16:14 2000
187
188rtems_clock_get_tod          00:16:19   01/01/2000
189gettimeofday: Sat Jan  1 00:16:19 2000
190time:         Sat Jan  1 00:16:19 2000
191localtime:    Sat Jan  1 00:16:19 2000
192gmtime:       Sat Jan  1 00:16:19 2000
193
194rtems_clock_get_tod          00:16:24   01/01/2000
195gettimeofday: Sat Jan  1 00:16:24 2000
196time:         Sat Jan  1 00:16:24 2000
197localtime:    Sat Jan  1 00:16:24 2000
198gmtime:       Sat Jan  1 00:16:24 2000
199
200rtems_clock_set          05:10:59   02/02/2005
201rtems_clock_get_tod          05:10:59   02/02/2005
202gettimeofday: Wed Feb  2 05:10:59 2005
203time:         Wed Feb  2 05:10:59 2005
204localtime:    Wed Feb  2 05:10:59 2005
205gmtime:       Wed Feb  2 05:10:59 2005
206
207rtems_clock_get_tod          05:11:04   02/02/2005
208gettimeofday: Wed Feb  2 05:11:04 2005
209time:         Wed Feb  2 05:11:04 2005
210localtime:    Wed Feb  2 05:11:04 2005
211gmtime:       Wed Feb  2 05:11:04 2005
212
213rtems_clock_get_tod          05:11:09   02/02/2005
214gettimeofday: Wed Feb  2 05:11:09 2005
215time:         Wed Feb  2 05:11:09 2005
216localtime:    Wed Feb  2 05:11:09 2005
217gmtime:       Wed Feb  2 05:11:09 2005
218
219rtems_clock_get_tod          05:11:14   02/02/2005
220gettimeofday: Wed Feb  2 05:11:14 2005
221time:         Wed Feb  2 05:11:14 2005
222localtime:    Wed Feb  2 05:11:14 2005
223gmtime:       Wed Feb  2 05:11:14 2005
224
225rtems_clock_get_tod          05:11:19   02/02/2005
226gettimeofday: Wed Feb  2 05:11:19 2005
227time:         Wed Feb  2 05:11:19 2005
228localtime:    Wed Feb  2 05:11:19 2005
229gmtime:       Wed Feb  2 05:11:19 2005
230
231rtems_clock_get_tod          05:11:24   02/02/2005
232gettimeofday: Wed Feb  2 05:11:24 2005
233time:         Wed Feb  2 05:11:24 2005
234localtime:    Wed Feb  2 05:11:24 2005
235gmtime:       Wed Feb  2 05:11:24 2005
236
237rtems_clock_set          10:05:59   03/03/2010
238rtems_clock_get_tod          10:05:59   03/03/2010
239gettimeofday: Wed Mar  3 10:05:59 2010
240time:         Wed Mar  3 10:05:59 2010
241localtime:    Wed Mar  3 10:05:59 2010
242gmtime:       Wed Mar  3 10:05:59 2010
243
244rtems_clock_get_tod          10:06:04   03/03/2010
245gettimeofday: Wed Mar  3 10:06:04 2010
246time:         Wed Mar  3 10:06:04 2010
247localtime:    Wed Mar  3 10:06:04 2010
248gmtime:       Wed Mar  3 10:06:04 2010
249
250rtems_clock_get_tod          10:06:09   03/03/2010
251gettimeofday: Wed Mar  3 10:06:09 2010
252time:         Wed Mar  3 10:06:09 2010
253localtime:    Wed Mar  3 10:06:09 2010
254gmtime:       Wed Mar  3 10:06:09 2010
255
256rtems_clock_get_tod          10:06:14   03/03/2010
257gettimeofday: Wed Mar  3 10:06:14 2010
258time:         Wed Mar  3 10:06:14 2010
259localtime:    Wed Mar  3 10:06:14 2010
260gmtime:       Wed Mar  3 10:06:14 2010
261
262rtems_clock_get_tod          10:06:19   03/03/2010
263gettimeofday: Wed Mar  3 10:06:19 2010
264time:         Wed Mar  3 10:06:19 2010
265localtime:    Wed Mar  3 10:06:19 2010
266gmtime:       Wed Mar  3 10:06:19 2010
267
268rtems_clock_get_tod          10:06:24   03/03/2010
269gettimeofday: Wed Mar  3 10:06:24 2010
270time:         Wed Mar  3 10:06:24 2010
271localtime:    Wed Mar  3 10:06:24 2010
272gmtime:       Wed Mar  3 10:06:24 2010
273
274rtems_clock_set          15:00:59   04/04/2020
275rtems_clock_get_tod          15:00:59   04/04/2020
276gettimeofday: Sat Apr  4 15:00:59 2020
277time:         Sat Apr  4 15:00:59 2020
278localtime:    Sat Apr  4 15:00:59 2020
279gmtime:       Sat Apr  4 15:00:59 2020
280
281rtems_clock_get_tod          15:01:04   04/04/2020
282gettimeofday: Sat Apr  4 15:01:04 2020
283time:         Sat Apr  4 15:01:04 2020
284localtime:    Sat Apr  4 15:01:04 2020
285gmtime:       Sat Apr  4 15:01:04 2020
286
287rtems_clock_get_tod          15:01:09   04/04/2020
288gettimeofday: Sat Apr  4 15:01:09 2020
289time:         Sat Apr  4 15:01:09 2020
290localtime:    Sat Apr  4 15:01:09 2020
291gmtime:       Sat Apr  4 15:01:09 2020
292
293rtems_clock_get_tod          15:01:14   04/04/2020
294gettimeofday: Sat Apr  4 15:01:14 2020
295time:         Sat Apr  4 15:01:14 2020
296localtime:    Sat Apr  4 15:01:14 2020
297gmtime:       Sat Apr  4 15:01:14 2020
298
299rtems_clock_get_tod          15:01:19   04/04/2020
300gettimeofday: Sat Apr  4 15:01:19 2020
301time:         Sat Apr  4 15:01:19 2020
302localtime:    Sat Apr  4 15:01:19 2020
303gmtime:       Sat Apr  4 15:01:19 2020
304
305rtems_clock_get_tod          15:01:24   04/04/2020
306gettimeofday: Sat Apr  4 15:01:24 2020
307time:         Sat Apr  4 15:01:24 2020
308localtime:    Sat Apr  4 15:01:24 2020
309gmtime:       Sat Apr  4 15:01:24 2020
310
311
312
313*** END OF TIME OF DAY TEST 01 ***
Note: See TracBrowser for help on using the repository browser.