On Mon, Aug 31, 2020 at 1:42 PM El boulangero <elboulang...@gmail.com> wrote:
>
> The patch test--fix-against-libcap2-2.43.patch actually fails the build for 
> me, in a sid chroot with libcap 2.43.
>
> ~~~~
> === RUN   TestTarUntarWithXattr
>     archive_unix_test.go:267: assertion failed: string 
> "/tmp/docker-test-untar-origin293876876/2 = cap_block_suspend+ep\n" does not 
> contain "cap_block_suspend=ep": untar should have kept the 
> 'security.capability' xattr
>     archive_unix_test.go:267: assertion failed: string 
> "/tmp/docker-test-untar-origin293876876/2 = cap_block_suspend+ep\n" does not 
> contain "cap_block_suspend=ep": untar should have kept the 
> 'security.capability' xattr
> ~~~~
>
> This is not very important anyway, as this patch applies to a test that 
> requires root, hence is skipped on buildd.

Indeed, it's skipped. Seems sbuild gives me a shell with root when
building fails, which makes this test to be run.

-- 
Shengjing Zhu

Reply via email to