On Mon, Mar 14, 2016 at 09:50:54PM +0530, Jay Joshi wrote:
> Thanks.
> One more query: I'm not able to see any usage of "link" syscall in
> tests subdir. Although, covecov is highlighting "link" syscall in
> green, which I presume indicates test for that syscall is covered.
> What am I missing here?

Some syscalls are so similar to other syscalls that they share the same
parser code.  For example,

$ git grep sys_link linux/
linux/dummy.h:#define   sys_pivotroot           sys_link
linux/dummy.h:#define   sys_rename              sys_link
linux/dummy.h:#define   sys_symlink             sys_link

As we've got a test for rename syscall, it covers the code that is used by
link, pivot_root, and symlink syscall parsers.  So in fact the "link"
syscall is not covered, but it's parser is.


-- 
ldv

Attachment: pgp0ZwEk43znF.pgp
Description: PGP signature

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to