Fix tests for Android.

Test: ./run_tests.py --bitness 32
Test: ./run_tests.py --bitness 64
Test: ./run_tests.py --bitness 64 --host
Bug: None
Change-Id: I8746cdf3e5dd57603a2487b7d9b082b3cd8f8474
This commit is contained in:
Dan Albert
2018-12-20 12:38:01 -08:00
parent 4d4d6a8f06
commit 5ca76f3cd2
3 changed files with 13 additions and 1 deletions

View File

@@ -159,7 +159,7 @@ TEST_CASE(test_no_resolve_symlink_on_symlink)
{perms::owner_all, perms::group_all, perm_options::remove},
};
for (auto const& TC : cases) {
#if defined(__APPLE__) || defined(__FreeBSD__)
#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__ANDROID__)
// On OS X symlink permissions are supported. We should get an empty
// error code and the expected permissions.
const auto expected_link_perms = TC.expected;