]> git.proxmox.com Git - mirror_ovs.git/commit
test-hash: Make check_256byte_hash() test no 1-bits set case.
authorAlex Wang <alexw@nicira.com>
Wed, 25 Feb 2015 23:08:51 +0000 (15:08 -0800)
committerAlex Wang <alexw@nicira.com>
Fri, 27 Feb 2015 05:12:43 +0000 (21:12 -0800)
commit59f280f173d817150565010f5dc1a9301d02651b
tree442883234c90714f2e0233f3ba8c1318aa6baa56
parent938a73dafdfb934fbae3de4358eecb28a93e5d82
test-hash: Make check_256byte_hash() test no 1-bits set case.

The test comment mentions that we will test the no 1-bits set case.
So, this commit makes sure that it is tested.

Signed-off-by: Alex Wang <alexw@nicira.com>
---
PATCH->V2:
- explain why calling set_bit128 with i or j == n_bits is okay.
tests/test-hash.c