Add bindiff for tests

This commit is contained in:
Vitaliy Filippov
2025-01-02 19:59:04 +03:00
parent ab822d3050
commit 0e6bf66734
5 changed files with 189 additions and 6 deletions
+1
View File
@@ -60,6 +60,7 @@ qemu-img convert -S 4096 -p \
-O raw ./testdata/bin/read.bin
if ! diff -q ./testdata/bin/read.bin ./testdata/bin/mirror.bin; then
build/src/test/bindiff ./testdata/bin/read.bin ./testdata/bin/mirror.bin
format_error Data lost during self-heal
fi