diff options
-rw-r--r-- | test/913-heaps/src/art/Test913.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/913-heaps/src/art/Test913.java b/test/913-heaps/src/art/Test913.java index 4fffa88198..8bd7cf4710 100644 --- a/test/913-heaps/src/art/Test913.java +++ b/test/913-heaps/src/art/Test913.java @@ -317,7 +317,8 @@ public class Test913 { BufferedReader reader = new BufferedReader(new FileReader("/proc/" + pid + "/maps")); String line; while ((line = reader.readLine()) != null) { - if (line.endsWith(".art")) { + // On host the mappings end with .art and on device they end with .art] + if (line.endsWith(".art]") || line.endsWith(".art")) { reader.close(); return true; } |