pike.git
/
src
/
testsuite.in
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/testsuite.in:1:
-
test_true([["$Id: testsuite.in,v 1.
639
2003/
04
/
28
22
:
04
:
10
nilsson
Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
640
2003/
05
/
15
15
:
31
:
35
mast
Exp $"]]);
// This triggered a bug only if run sufficiently early. test_compile_any([[#pike 7.2]]) test_compile_any([[#pike 7.4]]) test_compile_any([[#pike 7.0]]) test_compile_any([[#pike 0.6]]) cond([[all_constants()->_verify_internals]], [[ test_do(_verify_internals())
pike.git/src/testsuite.in:9676:
string s; for(s="foobar";strlen(s)<78;s+=s) { for(int e=0;e<strlen(s);e++) { s[e]++; } } ]])
+
// string[]=
test_any([[string s="foo"; s[2]='t'; s[0]--; return s;]],"eot") test_any([[string s="foo"; s[2]=0777; s[1]--; return s;]],"fn\777") test_any([[string s="foo"; s[2]=07777777; s[1]--; return s;]],"fn\7777777")
-
+
test_any([[string s="foo"; s[2]='t'; catch (s[10]='x'); return s;]], "fot")
cond([[all_constants()->_verify_internals]], [[ test_do(_verify_internals()) ]]) // Loading these ensures correct load order of the // Calendar module. Should not be needed in a perfect world. test_true(objectp(Calendar.ISO_UTC)) test_true(functionp(Calendar.dwim_time))