e1d92bce57
We want to check the error code of zstd not to be 'Destination buffer to small' (dstSize_tooSmall), but currently there is no practical API that is also public. So we introduce a helper that uses the internal logic of zstd to determine the error. Since this is not guaranteed to be a stable api, add a test for that so we catch that error early on build. This should be fine, as long as the zstd behavior only changes with e.g. major debian upgrades, which is normally the only time where the zstd version is updated. Signed-off-by: Dominik Csapak <d.csapak@proxmox.com> [ TL: re-order fn, rename test and reword comments ] Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com> |
||
---|---|---|
.. | ||
scripts | ||
source | ||
changelog | ||
control | ||
copyright | ||
lintian-overrides | ||
pmt.bc | ||
pmtx.bc | ||
postinst | ||
prerm | ||
proxmox-backup-client.bash-completion | ||
proxmox-backup-client.bc | ||
proxmox-backup-client.install | ||
proxmox-backup-debug.bc | ||
proxmox-backup-docs.install | ||
proxmox-backup-docs.links | ||
proxmox-backup-docs.lintian-overrides | ||
proxmox-backup-file-restore.bash-completion | ||
proxmox-backup-file-restore.bc | ||
proxmox-backup-file-restore.install | ||
proxmox-backup-file-restore.postinst | ||
proxmox-backup-file-restore.triggers | ||
proxmox-backup-manager.bc | ||
proxmox-backup-server.bash-completion | ||
proxmox-backup-server.install | ||
proxmox-backup-server.maintscript | ||
proxmox-backup-server.udev | ||
proxmox-tape.bc | ||
pxar.bc | ||
rules |