diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2014-07-14 14:15:33 +0800 |
---|---|---|
committer | Yongqin Liu <yongqin.liu@linaro.org> | 2014-07-14 14:15:33 +0800 |
commit | 4b66a97b897d58d246d93a9fda05f1afe0f976a2 (patch) | |
tree | 9d8f8917600b866dc43f9f52b1ba84a1139baf8e | |
parent | 50e4ad10564ef84b15730e3d8ba4cdc1391dbc01 (diff) | |
download | cts-4b66a97b897d58d246d93a9fda05f1afe0f976a2.tar.gz |
SELinuxDomainTest: change test for debuggerd and zygote domain
In 64-bit mode, we may have both 32 bit and 64 bit version process there,
so change test to use assertDomainN instead of assertDomainOne,
and add the 64 bit version in the check.
Change-Id: Ica1b98ff609ec3af4066b4a9bf635023216678de
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-rw-r--r-- | tests/tests/security/src/android/security/cts/SELinuxDomainTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tests/security/src/android/security/cts/SELinuxDomainTest.java b/tests/tests/security/src/android/security/cts/SELinuxDomainTest.java index be2520150b7..9679f827a0a 100644 --- a/tests/tests/security/src/android/security/cts/SELinuxDomainTest.java +++ b/tests/tests/security/src/android/security/cts/SELinuxDomainTest.java @@ -160,7 +160,7 @@ public class SELinuxDomainTest extends TestCase { /* Debuggerd is always there */ public void testDebuggerdDomain() throws FileNotFoundException { - assertDomainOne("u:r:debuggerd:s0", "/system/bin/debuggerd"); + assertDomainN("u:r:debuggerd:s0", "/system/bin/debuggerd", "/system/bin/debuggerd64"); } /* Surface flinger is always there */ @@ -170,7 +170,7 @@ public class SELinuxDomainTest extends TestCase { /* Zygote is always running */ public void testZygoteDomain() throws FileNotFoundException { - assertDomainOne("u:r:zygote:s0", "zygote"); + assertDomainN("u:r:zygote:s0", "zygote", "zygote64"); } /* drm server is always present */ |