mirror of
https://github.com/sheumann/hush.git
synced 2024-11-15 12:08:09 +00:00
a5d3d3436b
Signed-off-by: Alexey Soloviev <EXT-Alexey.Soloviev@nokia.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
14 lines
586 B
Plaintext
14 lines
586 B
Plaintext
# Tests for time_t value (unix time format)
|
|
|
|
# Just before DST switched off
|
|
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`"
|
|
|
|
# Just after DST switched off
|
|
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`"
|
|
|
|
# Just before DST switched on
|
|
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`"
|
|
|
|
# Just after DST switched on
|
|
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`"
|