pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
1998-05-07
1998-05-07 23:49:36 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
4ae379fbab6d0cc8f2beabb71b9be13a49f0a2af (
6
lines) (+
4
/-
2
)
[
Show
|
Annotate
]
Branch:
7.9
more tests added
Rev: src/testsuite.in:1.104
1:
-
stest_true([["$Id: testsuite.in,v 1.
103
1998/05/
06
00
:
32
:
33
hubbe Exp $"]])
+
stest_true([["$Id: testsuite.in,v 1.
104
1998/05/
07
23
:
49
:
36
hubbe Exp $"]])
cond([[all_constants()->_verify_internals]], [[ test_do(_verify_internals())
372:
cond([[all_constants()->localtime && all_constants()->mktime]], [[
-
test_any([[
int x=time(); return mktime(localtime(x)) == x;]], 1)
+
test_any([[int x=time(); return mktime(localtime(x)) == x;]], 1)
+
test_any([[int x=time(); for(int y=0;y<100;y++) if(mktime(localtime(x+y)) != x+y) return x+y; return 0;]], 0)
]]) cond([[all_constants()->_verify_internals]],