aboutsummaryrefslogtreecommitdiffstats
path: root/tests/stubs_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* fix shared gid support in getpwnam/getgrnamYabin Cui2014-11-181-44/+192
| | | | | Bug: 18374693 Change-Id: I5353403cbbead6f6abac87bee2cf53a60dba408c
* Align struct passwd definition with other variations of libcCalin Juravle2014-05-091-0/+4
| | | | | | | | Add pg_gecos ("real name") field to struct passwd. Bug: 14679430 Bug: 12875898 Change-Id: I833ec2c46f6a6259b7232a8e3f7942968ef0b50d
* Make sure that the same tests are on all platforms.Christopher Ferris2014-02-061-4/+5
| | | | | | | | | | | | | | | | In order to be able to generate a list of tests for cts, the same set of tests must exist across all platforms. This CL adds empty tests where a test was conditionally compiled out. This CL creates a single library libBionicTests that includes all of the tests found in bionic-unit-tests-static. Also fix a few missing include files in some test files. Tested by running and compiling the tests for every platform and verifying the same number of tests are on each platform. Change-Id: I9989d4bfebb0f9c409a0ce7e87169299eac605a2
* Fix __pthread_clone on ARM to set errno on failure.Elliott Hughes2013-02-111-1/+1
| | | | | | | | | | MIPS and x86 appear to have been correct already. (Also fix unit tests that ASSERT_EQ with errno so that the arguments are in the retarded junit order.) Bug: 3461078 Change-Id: I2418ea98927b56e15b4ba9cfec97f5e7094c6291
* Fix several compiler warnings.Elliott Hughes2012-09-261-1/+1
| | | | Change-Id: I55caa50a5937442734f4fcbdb4edf1c70f335bf8
* Print out shared app gids correctlyKenny Root2012-09-131-0/+8
| | | | | | | For applications that share resources across users such as forward-locked applications, print out their group name correctly. Change-Id: I06ee0b67e4325cfa415ffd7a03e301700399a66d
* Add tests for Android-specific stubsKenny Root2012-09-131-0/+100
Also fix problem with multi-user IDs that the home directory was returned as "/data" instead of "/" unlike all the other uids. Change-Id: I914d22052e5a86552989f8969b85aadbc748c65d