[prev in list] [next in list] [prev in thread] [next in thread]
List: strace
Subject: Re: readv.test is fail on Ubuntu 16.04 x86_64
From: "Dmitry V. Levin" <ldv () altlinux ! org>
Date: 2016-12-07 12:05:35
Message-ID: 20161207120535.GC23316 () altlinux ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
Hi,
On Sun, Dec 04, 2016 at 07:59:48PM +0800, JingPiao Chen wrote:
> Environment: Ubuntu 16.04 x86_64
> Version: dcc9b9cdb2cd6de7c5b300b8d1f5dfb3f0b31ab2
>
> readv.test is fail on Ubuntu 16.04 x86_64
>
> test-suite.log/readv.log:
>
> 251 FAIL: readv
> 252 ===========
> 253
> 254 ../strace: invalid descriptor '65534'
> 255 readv.test: failed test: ../strace -a16 -eread=65534 -ewrite=65535 -e \
> trace=readv,writev ./readv failed with code 1 256 FAIL readv.test (exit status: 1)
Thanks for reporting. This was a limitation in strace, fixed by commit
v4.14-195-g05ac490cc79e2369a60da23e696b67fcd6012762 that replaced old
-eread=/-ewrite= implementation with a new bit set based one.
> My patch:
>
> From c58e2972c732eb545c7c3bff76222f1806474a03 Mon Sep 17 00:00:00 2001
> From: JingPiao Chen <chenjingpiao@foxmail.com>
> Date: Sun, 4 Dec 2016 19:56:19 +0800
> Subject: [PATCH] tests: fix maximum fd in pipe_maxfd
I think that if a test hits a bug, the first idea should be to fix the bug,
not to workaround the bug in the test.
--
ldv
[Attachment #5 (application/pgp-signature)]
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic