1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/pkg_tinyvcdiff
MrKevinWeiss c43116a84f
tests/pkg_tinyvcdiff: Initialize mtd->write_size
An assert `assert(mtd->write_size != 0);` is being hit.
It seems that initializing this to 1 in the fakemtd fixes it.
Not that I know anything about what it should be.
2022-08-30 11:36:42 +02:00
..
tests pkg/tinyvcdiff: add test 2022-05-17 13:40:16 +02:00
app.config.test pkg/tinyvcdiff: add test 2022-05-17 13:40:16 +02:00
delta.bin pkg/tinyvcdiff: add test 2022-05-17 13:40:16 +02:00
fakemtd.c pkg/tinyvcdiff: add test 2022-05-17 13:40:16 +02:00
fakemtd.h tests/pkg_tinyvcdiff: Initialize mtd->write_size 2022-08-30 11:36:42 +02:00
main.c pkg/tinyvcdiff: add test 2022-05-17 13:40:16 +02:00
Makefile pkg/tinyvcdiff: add test 2022-05-17 13:40:16 +02:00
Makefile.ci pkg/tinyvcdiff: add test 2022-05-17 13:40:16 +02:00
README.md pkg/tinyvcdiff: add test 2022-05-17 13:40:16 +02:00
source.bin pkg/tinyvcdiff: add test 2022-05-17 13:40:16 +02:00
target.bin pkg/tinyvcdiff: add test 2022-05-17 13:40:16 +02:00

pkg_tinyvcdiff

This test patches the binary file source.bin using delta.bin and reconstructs target.bin.

delta.bin has been created with open-vcdiff:

vcdiff delta -interleaved -dictionary source.bin <target.bin >delta.bin