-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exit code of lz4 --test
for invalid file is non-zero
#1045
Comments
If it's very small we could use it as golden file for regression tests (or a close enough equivalent). That it fails at position 8 looks strange to be fair. Sounds like a skippable frame. |
Here is the first 4K of broken legacy lz4 file produced by lz4.go library. https://drive.google.com/file/d/1ROna4lr8S06EdoVXEVzWXRbO_AdENHa5/view?usp=sharing If you run
|
And the lz4.go issue is tracked here pierrec/lz4#156 |
at Arch Linux.
I have an invalid file produced by golang lz4 library (see anatol/booster#117 for reference). I check it with
lz4
command and it complainsthe exit code of this command is 0 (i.e. success). It sounds wrong to me.
The exit code should indicate an error and be non-zero.
The text was updated successfully, but these errors were encountered: