@@ -229,6 +229,23 @@ wrote 65536/65536 bytes at offset 0
229
229
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
230
230
Images are identical.
231
231
232
+ === -n to an empty image ===
233
+
234
+ Formatting 'TEST_DIR/t.IMGFMT.orig', fmt=IMGFMT size=67108864
235
+ Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
236
+ [{ "start": 0, "length": 67108864, "depth": 0, "zero": true, "data": false}]
237
+ Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
238
+ [{ "start": 0, "length": 67108864, "depth": 0, "zero": true, "data": false}]
239
+
240
+ === -n to an empty image with a backing file ===
241
+
242
+ Formatting 'TEST_DIR/t.IMGFMT.orig', fmt=IMGFMT size=67108864
243
+ Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
244
+ Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT
245
+ [{ "start": 0, "length": 67108864, "depth": 0, "zero": true, "data": false}]
246
+ Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT
247
+ [{ "start": 0, "length": 67108864, "depth": 0, "zero": false, "data": true, "offset": 327680}]
248
+
232
249
=== -n -B to an image without a backing file ===
233
250
234
251
Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
0 commit comments