diff options
author | Simo Sorce <simo@redhat.com> | 2012-01-09 14:18:12 -0500 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2012-01-09 15:00:39 -0500 |
commit | 8df169fdffb564ec932fede4216a123a71f1cc9a (patch) | |
tree | 7fd24957835a48d78c734c6bb870b4fcea9bf828 /src/util | |
parent | 5a70b84cb66fb8c7a3fce0e3f2e4b61e0b2ea9d4 (diff) | |
download | sssd-8df169fdffb564ec932fede4216a123a71f1cc9a.tar.gz sssd-8df169fdffb564ec932fede4216a123a71f1cc9a.tar.bz2 sssd-8df169fdffb564ec932fede4216a123a71f1cc9a.zip |
Add a random + identity test for murmurhash3
This test always generate a random string so each time the test is run we will
test the hash function with a new value.
It also hashes the same string twice and compares the result so that we have a
chance of catching if uninitialized variables are getting mixed into the value
calculation and end up generating different results for the same input.
Diffstat (limited to 'src/util')
0 files changed, 0 insertions, 0 deletions