Lines Matching full:base
54 # formats that use clusters. This will ensure that the base image doesn't end
58 # The base image is smaller than the image file
64 TEST_IMG="$TEST_IMG.base"
68 echo "Filling base image"
71 # Fill end of base image with a pattern, skipping every other sector
80 _make_test_img -b "$TEST_IMG.base" -F $IMGFMT $image_size
85 # Write every other sector around where the base image ends
93 # Base image sectors
99 # Zero sectors beyond end of base image
104 # Rebase it on top of its base image
105 $QEMU_IMG rebase -b "$TEST_IMG.base" -F $IMGFMT "$TEST_IMG"
128 # Base image sectors
134 # Zero sectors beyond end of base image
144 # Use a cluster boundary as the base end here
147 TEST_IMG="$TEST_IMG.base" _make_test_img $base_size
148 _make_test_img -b "$TEST_IMG.base" -F $IMGFMT $image_size
150 # Write 16 times 42 at the end of the base image
151 $QEMU_IO -c "write -P 42 $((base_size - 16)) 16" "$TEST_IMG.base" \
154 # Read 32 bytes across the base EOF from the top;