Lines Matching full:write
5 # (or can) read and write outside of the image size.
67 echo "write to image"
68 $QEMU_IO -c "write -P 0x0a 0 $test_size" "$(img_json)" | _filter_qemu_io
79 echo "write before image boundary"
80 $QEMU_IO -c "write $((test_size-1)) 1" "$(img_json)" | _filter_qemu_io
83 echo "write across image boundary"
84 $QEMU_IO -c "write $((test_size-1)) 2" "$(img_json)" | _filter_qemu_io
87 echo "write at image boundary"
88 $QEMU_IO -c "write $test_size 1" "$(img_json)" | _filter_qemu_io
91 echo "write after image boundary"
92 $QEMU_IO -c "write $((test_size+512)) 1" "$(img_json)" | _filter_qemu_io
120 $QEMU_IO -c "write -P 0x0a 0 $size" $TEST_IMG | _filter_qemu_io
123 echo "write zeroes and check"
124 $QEMU_IO -c "write -z 0 512" "$(img_json)" | _filter_qemu_io
128 echo "write zeroes across image boundary"
129 $QEMU_IO -c "write -z $((test_size-1)) 2" "$(img_json)" | _filter_qemu_io
132 echo "write zeroes at image boundary and check"
133 $QEMU_IO -c "write -z $((test_size-2)) 2" "$(img_json)" | _filter_qemu_io
139 $QEMU_IO -c "write -P 0x0a 0 $size" $TEST_IMG | _filter_qemu_io
192 write -P 0x0a 0 512
193 write -P 0x0a 511 1
194 write -P 0x0a 512 1
196 write -P 0x0a 0 1024
197 write -P 0x0a 1023 1
198 write -P 0x0a 1024 1