OSDN Git Service

Fix unistd.getpid_caching_and_clone.
authorElliott Hughes <enh@google.com>
Fri, 22 Aug 2014 02:23:53 +0000 (19:23 -0700)
committerElliott Hughes <enh@google.com>
Fri, 22 Aug 2014 02:23:53 +0000 (19:23 -0700)
commit84d0683a824fa02dbaa6d1b56a79223804b54e80
tree546a8464ef24976cd86f9e825c7b05acbade3cb1
parent2d80400a9e8454038a3ec29959436184be0c4c65
Fix unistd.getpid_caching_and_clone.

This test only works if you're root (strictly: if you have permission to
CLONE_NEWNS), so it's useful to us when we're doing ad hoc testing (since
that's usually done as root), but it's not useful as part of CTS or when
running the tests on the host.

Bug: 16705621
Bug: 17170200
Change-Id: Ia92c871b15f7e45fc174bb59bc95540fd00ae745
tests/unistd_test.cpp