Branch: Tag:

2014-12-06

2014-12-06 15:56:08 by Marcus Comstedt <marcus@mc.pp.se>

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) )