File: time.test

package info (click to toggle)
fdm 1.6-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,612 kB
  • ctags: 1,526
  • sloc: ansic: 14,941; yacc: 1,976; sh: 540; makefile: 245; awk: 146
file content (99 lines) | stat: -rw-r--r-- 3,036 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# $Id: time.test,v 1.1 2007/06/29 21:28:43 nicm Exp $

set timeout 0
@1 ^/dev/stdin: zero timeout at line .$
set timeout 1
@0 ^options are: .*timeout=1,
set timeout 2147483648
@1 ^/dev/stdin: timeout too long: 2147483648 at line .$

set timeout 0 second
@1 ^/dev/stdin: zero timeout at line .$
set timeout 1 second
@0 ^options are: .*timeout=1,
set timeout 2147483648 second
@1 ^/dev/stdin: timeout too long: 2147483648 at line .$
set timeout 0 seconds
@1 ^/dev/stdin: zero timeout at line .$
set timeout 1 seconds
@0 ^options are: .*timeout=1,
set timeout 2147483648 seconds
@1 ^/dev/stdin: timeout too long: 2147483648 at line .$

set timeout 0 minute
@1 ^/dev/stdin: zero timeout at line .$
set timeout 1 minute
@0 ^options are: .*timeout=60,
set timeout 357913945 minute
@1 ^/dev/stdin: timeout too long: 21474836700 at line .$
set timeout 0 minutes
@1 ^/dev/stdin: zero timeout at line .$
set timeout 1 minutes
@0 ^options are: .*timeout=60,
set timeout 357913945 minutes
@1 ^/dev/stdin: timeout too long: 21474836700 at line .$

set timeout 0 hour
@1 ^/dev/stdin: zero timeout at line .$
set timeout 1 hour
@0 ^options are: .*timeout=3600,
set timeout 5965234 hour
@1 ^/dev/stdin: timeout too long: 21474842400 at line .$
set timeout 0 hours
@1 ^/dev/stdin: zero timeout at line .$
set timeout 1 hours
@0 ^options are: .*timeout=3600,
set timeout 5965234 hours
@1 ^/dev/stdin: timeout too long: 21474842400 at line .$

set timeout 0 day
@1 ^/dev/stdin: zero timeout at line .$
set timeout 1 day
@0 ^options are: .*timeout=86400,
set timeout 24856 day
@1 ^/dev/stdin: timeout too long: 2147558400 at line .$
set timeout 0 days
@1 ^/dev/stdin: zero timeout at line .$
set timeout 1 days
@0 ^options are: .*timeout=86400,
set timeout 24856 days
@1 ^/dev/stdin: timeout too long: 2147558400 at line .$

set timeout 0 week
@1 ^/dev/stdin: zero timeout at line .$
set timeout 1 week
@0 ^options are: .*timeout=604800,
set timeout 3551 week
@1 ^/dev/stdin: timeout too long: 2147644800 at line .$
set timeout 0 weeks
@1 ^/dev/stdin: zero timeout at line .$
set timeout 1 weeks
@0 ^options are: .*timeout=604800,
set timeout 3551 weeks
@1 ^/dev/stdin: timeout too long: 2147644800 at line .$

set timeout 0 month
@1 ^/dev/stdin: zero timeout at line .$
set timeout 1 month
@1 ^/dev/stdin: timeout too long: 2419200 at line .$
set timeout 888 month
@1 ^/dev/stdin: timeout too long: 2148249600 at line .$
set timeout 0 months
@1 ^/dev/stdin: zero timeout at line .$
set timeout 1 months
@1 ^/dev/stdin: timeout too long: 2419200 at line .$
set timeout 888 months
@1 ^/dev/stdin: timeout too long: 2148249600 at line .$

set timeout 0 year
@1 ^/dev/stdin: zero timeout at line .$
set timeout 1 year
@1 ^/dev/stdin: timeout too long: 29030400 at line .$
set timeout 74 year
@1 ^/dev/stdin: timeout too long: 2148249600 at line .$
set timeout 0 years
@1 ^/dev/stdin: zero timeout at line .$
set timeout 1 years
@1 ^/dev/stdin: timeout too long: 29030400 at line .$
set timeout 74 years
@1 ^/dev/stdin: timeout too long: 2148249600 at line .$