test-bitmap: test set 1 bit case for bitmap_set
commita060297822ea6b4194bf36654e58c802448a3eea
authorWei Yang <richardw.yang@linux.intel.com>
Wed, 14 Aug 2019 00:27:23 +0000 (14 08:27 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 20 Aug 2019 18:00:51 +0000 (20 20:00 +0200)
tree27a6e1c144a585ab4774d7523094bced65c753c2
parent355477f8c73e9c6b60704c57472c71393ff39bca
test-bitmap: test set 1 bit case for bitmap_set

All current bitmap_set test cases set range across word, while the
handle of a range within one word is different from that.

Add case to set 1 bit as a represent for set range within one word.

Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tests/test-bitmap.c