tests: deterministichash: Make hash tables arch-independent
It turns out that our implementation of the hashing function is endian-dependent and thus if used on various architectures the testsuite may have different results. Work this around by mocking virHashCodeGen to something which does not use bit operations instead of just setting a deterministic seed.
Showing
想要评论请 注册 或 登录