Alexey Soloviev | a5d3d34 | 2010-12-31 05:21:51 +0100 | [diff] [blame] | 1 | # Tests for time_t value (unix time format) |
| 2 | |
| 3 | # Just before DST switched off |
| 4 | test x"Sun Oct 31 03:59:59 EEST 2010" = x"`TZ=EET-2EEST,M3.5.0/3,M10.5.0/4 busybox date -d @1288486799`" |
| 5 | |
| 6 | # Just after DST switched off |
| 7 | test x"Sun Oct 31 03:00:01 EET 2010" = x"`TZ=EET-2EEST,M3.5.0/3,M10.5.0/4 busybox date -d @1288486801`" |
| 8 | |
| 9 | # Just before DST switched on |
| 10 | test x"Sun Mar 28 02:59:59 EET 2010" = x"`TZ=EET-2EEST,M3.5.0/3,M10.5.0/4 busybox date -d @1269737999`" |
| 11 | |
| 12 | # Just after DST switched on |
| 13 | test x"Sun Mar 28 04:00:01 EEST 2010" = x"`TZ=EET-2EEST,M3.5.0/3,M10.5.0/4 busybox date -d @1269738001`" |