patool
patool copied to clipboard
zoo 2.1 returns non-zero exit code for test files
This is on openSUSE, using package built at https://build.opensuse.org/package/show/Archiving/zoo
> zoo -test patool-upstream-1.12/tests/data/t.zoo
Zoo: WARNING: Archive header failed consistency check.
Zoo: t.txt -- OK
Zoo: t2.txt -- OK
Zoo: Archive seems OK.
> echo $?
1
> zoo -test patool-upstream-1.12/tests/data/t.zoo.foo
Zoo: WARNING: Archive header failed consistency check.
Zoo: t.txt -- OK
Zoo: t2.txt -- OK
Zoo: Archive seems OK.
> echo $?
1
It works with this package from Ubuntu:
$ zoo h
Zoo archiver, zoo 2.1 $Date: 91/07/09 02:10:34 $
[...]
$ zoo -test tests/data/t.zoo
Zoo: t.txt -- OK
Zoo: t2.txt -- OK
Zoo: Archive seems OK.
$ echo $?
0
So this looks like a packaging or distribution related problem, at least I cannot reproduce this.