[PATCH] tests: chdir.test
Dmitry V. Levin
ldv at altlinux.org
Mon Mar 14 21:51:15 UTC 2016
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
-------------- 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/20160315/fc55305e/attachment.bin>
More information about the Strace-devel
mailing list