[ovs-git] [openvswitch/ovs] 59f280: test-hash: Make check_256byte_hash() test no 1-bit...

GitHub noreply at github.com
Fri Feb 27 05:09:26 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 59f280f173d817150565010f5dc1a9301d02651b
      https://github.com/openvswitch/ovs/commit/59f280f173d817150565010f5dc1a9301d02651b
  Author: Alex Wang <alexw at nicira.com>
  Date:   2015-02-26 (Thu, 26 Feb 2015)

  Changed paths:
    M tests/test-hash.c

  Log Message:
  -----------
  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 at nicira.com>

---
PATCH->V2:
- explain why calling set_bit128 with i or j == n_bits is okay.




More information about the git mailing list