pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2014-12-06
2014-12-06 15:56:08 by Marcus Comstedt <marcus@mc.pp.se>
d5424180152abc15461a5e152d197a16ad8840a9 (
3
lines) (+
2
/-
1
)
[
Show
|
Annotate
]
Branch:
8.1
Testsuite: Handle endianness dependency in hash_7_0()
11009:
test_eq([[ hash_7_0("foo",10) ]],4) test_eq([[ hash_7_0("bar") ]],26689) test_eq([[ hash_7_0("bar",10) ]],9)
-
test_eq([[ hash_7_0("b\666arqwerty1234"
, 2142487018
) ]], 1858424874)
+
test_eq([[ hash_7_0("b\666arqwerty1234") ]],
[[(Pike.get_runtime_info().native_byteorder == 4321? 2142487018 :
1858424874)
]])
test_eq([[ hash_7_0("") ]],0) test_eval_error( return hash_7_0("foo",0) )