From 47b04228858e9a4a767acd12a029e59d582f3ba1 Mon Sep 17 00:00:00 2001 From: Burcu Dogan Date: Wed, 24 Feb 2016 11:58:57 -0800 Subject: [PATCH] os: fix tests on brillo Not every Android contains the /system/framework directory, e.g. Brillo. Test against other Android-only system files. Fixes #14489. Change-Id: I6d9ec1c4d4ceba3803798015e6917d59cf515de8 Reviewed-on: https://go-review.googlesource.com/19904 Reviewed-by: Brad Fitzpatrick Reviewed-by: Burcu Dogan Run-TryBot: Burcu Dogan TryBot-Result: Gobot Gobot --- src/os/os_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/os/os_test.go b/src/os/os_test.go index 68f8f2b90a..b2f45b48f8 100644 --- a/src/os/os_test.go +++ b/src/os/os_test.go @@ -47,10 +47,10 @@ var sysdir = func() *sysDir { switch runtime.GOOS { case "android": return &sysDir{ - "/system/framework", + "/system/lib", []string{ - "ext.jar", - "framework.jar", + "libmedia.so", + "libpowermanager.so", }, } case "darwin": -- 2.48.1