]> git.ipfire.org Git - thirdparty/zstd.git/commit
xz/lzma warning causes test to fail 1222/head
authorBjörn Ketelaars <bjorn.ketelaars@hydroxide.nl>
Sat, 30 Jun 2018 11:22:14 +0000 (13:22 +0200)
committerBjörn Ketelaars <bjorn.ketelaars@hydroxide.nl>
Sat, 30 Jun 2018 11:54:34 +0000 (13:54 +0200)
commit527dbf89ecf2984b88887377eb99ffbc0ca95302
tree6d58228e91af69ebdecd14bcd33bd10992d62b76
parent276988f7948d95d917584a08d1d17a634d396890
xz/lzma warning causes test to fail

OpenBSD's port building infrastructure is able to build in a privilege
separated mode. It uses a privilege drop model. Regression tests fail in
this mode as xz/lzma is unable to set file group and errors out with:

xz: tmp.xz: Cannot set the file group: Operation not permitted
gmake[1]: *** [Makefile:307: zstd-playTests] Error 2

Actually it is not a xz/lzma error but a warning causing zstd's
regression test to fail. Proposed fix is to have xz/lzma not set the
exit status to 2 even if a condition worth a warning was detected (-Q
flag).
tests/playTests.sh