| Summary: | опции strict и quiet перепутаны местами | ||
|---|---|---|---|
| Product: | Sisyphus | Reporter: | Sergey Ivanov <zagagyka> |
| Component: | xxhash | Assignee: | placeholder <placeholder> |
| Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
| Severity: | normal | ||
| Priority: | P3 | CC: | glebfm, lav, ldv, placeholder, vt |
| Version: | unstable | ||
| Hardware: | all | ||
| OS: | Linux | ||
Спасибо, исправлено в сборке * Thu Mar 19 2020 Vitaly Lipatov <lav@altlinux.ru> 0.7.3-alt1 - new version 0.7.3 (with rpmrb script) Коммит апстрима: https://github.com/Cyan4973/xxHash/commit/c6ea1d21072e7be104c3efb7316b60f1a4203446 |
В мануале и в хелпе написано: q, --quiet Exit non-zero for improperly formatted checksum lines --strict Don’t print OK for each successfully verified file а по факту выполняется наоборот: $ cat summ.xxh64 8bd__broken_hash__ test.txt 1192995662e0804d test1.txt 69f55c449b3001a6 test2.txt $ xxhsum --strict -c summ.xxh64; echo "exit status $?" test1.txt: OK test2.txt: OK 1 line are improperly formatted exit status 1 $ xxhsum --quiet -c summ.xxh64; echo "exit status $?" 1 line are improperly formatted exit status 0