question about some kinds of testcases

Dmitry V. Levin ldv at altlinux.org
Tue Mar 22 00:31:15 UTC 2016


On Tue, Mar 22, 2016 at 08:22:23AM +0800, "Zhou, Wenjian/周文剑" wrote:
> On 03/22/2016 08:08 AM, Dmitry V. Levin wrote:
> > On Mon, Mar 21, 2016 at 10:51:29AM +0800, "Zhou, Wenjian/周文剑" wrote:
> >> Hi all,
> >>
> >> I noticed that the following kinds of cases haven't been covered.
> >> Are these testcases needed?
> >>
> >> 1. testcases of some options such as "-ttt","-E"...
> >
> > Most of them definitely worth testing.
> >
> >> 2. testcases of syscalls with "-p" option
> >
> > There are some differences in the way how processes are attached/detached
> > with/without -p option, but syscall filtering mechanism shouldn't be
> > affected.
> >
> >> 3. testcases of syscalls with multi-process program
> >
> > We have some multi-process tests.  I'm not sure I understand your
> > question.
> 
> I mean test each syscall using multi-process program.
> 
> I think it just likes the "-p" option.
> The syscall filtering won't be affected.

Syscall filtering is not affected, but output is, so it might be useful
in some cases, see e.g. tests/count-f.test.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20160322/fb46a3a1/attachment.bin>


More information about the Strace-devel mailing list