diff options
author | Brian Carlstrom <bdc@google.com> | 2012-03-06 22:56:41 -0800 |
---|---|---|
committer | Brian Carlstrom <bdc@google.com> | 2012-03-06 22:56:53 -0800 |
commit | 78325a44fbbdfbf47c9f1bd3166afcb71465a013 (patch) | |
tree | a0c56c1b792c44a4d4bc041104df1c08a05c9926 /test/068-classloader | |
parent | 37c44442a0f1b3ae5f95e40d455022bcafb566e4 (diff) | |
download | art-78325a44fbbdfbf47c9f1bd3166afcb71465a013.tar.gz art-78325a44fbbdfbf47c9f1bd3166afcb71465a013.tar.bz2 art-78325a44fbbdfbf47c9f1bd3166afcb71465a013.zip |
Fix 071-dexfile by having run-test use a unique directory
If userdata.img is flashed, the /data/art-test is owned by the system
user. However, 071 requires the directory it runs in to have be owned
by the running user (root in eng builds).
Change-Id: I5230908291fd2ff6c5ebda98cfc3ef4c7ea7482e
Diffstat (limited to 'test/068-classloader')
-rw-r--r-- | test/068-classloader/src/FancyLoader.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/068-classloader/src/FancyLoader.java b/test/068-classloader/src/FancyLoader.java index 5eb0249ace..44f335b024 100644 --- a/test/068-classloader/src/FancyLoader.java +++ b/test/068-classloader/src/FancyLoader.java @@ -38,7 +38,7 @@ public class FancyLoader extends ClassLoader { static final String CLASS_PATH = "classes-ex/"; /* this is the "alternate" DEX/Jar file */ - static final String DEX_FILE = "/data/art-test/068-classloader-ex.jar"; + static final String DEX_FILE = "/data/run-test/068-classloader-ex.jar"; /* on Dalvik, this is a DexFile; otherwise, it's null */ private Class mDexClass; |