On 5/29/20 10:07 AM, Alberto Garcia wrote:
On Wed 27 May 2020 08:30:06 PM CEST, Eric Blake wrote:
+offset=$(($offset + 8))
+bitmap=`peek_file_be "$TEST_IMG" $offset 8`
+
+expected_bitmap=0
+for bit in $expected_alloc; do
+expected_bitmap=$(($expected_bitmap | (1 << $bit))
On Wed 27 May 2020 08:30:06 PM CEST, Eric Blake wrote:
>> +offset=$(($offset + 8))
>> +bitmap=`peek_file_be "$TEST_IMG" $offset 8`
>> +
>> +expected_bitmap=0
>> +for bit in $expected_alloc; do
>> +expected_bitmap=$(($expected_bitmap | (1 << $bit)))
>> +done
>> +for b
On 5/25/20 1:08 PM, Alberto Garcia wrote:
Signed-off-by: Alberto Garcia
---
tests/qemu-iotests/271 | 705 +
tests/qemu-iotests/271.out | 603 +++
tests/qemu-iotests/group | 1 +
3 files changed, 1309 insertions(+)
cre
Signed-off-by: Alberto Garcia
---
tests/qemu-iotests/271 | 705 +
tests/qemu-iotests/271.out | 603 +++
tests/qemu-iotests/group | 1 +
3 files changed, 1309 insertions(+)
create mode 100755 tests/qemu-iotests/271
create mo