summaryrefslogtreecommitdiffstats
path: root/tools/dalvik_jtreg/java/dalvik/jtreg/Adb.java
diff options
context:
space:
mode:
Diffstat (limited to 'tools/dalvik_jtreg/java/dalvik/jtreg/Adb.java')
-rw-r--r--tools/dalvik_jtreg/java/dalvik/jtreg/Adb.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/dalvik_jtreg/java/dalvik/jtreg/Adb.java b/tools/dalvik_jtreg/java/dalvik/jtreg/Adb.java
index b7813d8..ef8508e 100644
--- a/tools/dalvik_jtreg/java/dalvik/jtreg/Adb.java
+++ b/tools/dalvik_jtreg/java/dalvik/jtreg/Adb.java
@@ -24,8 +24,11 @@ import java.io.File;
final class Adb {
public void mkdir(File name) {
- new Command("adb", "shell", "mkdir", name.toString())
- .execute();
+ new Command("adb", "shell", "mkdir", name.toString()).execute();
+ }
+
+ public void rm(File name) {
+ new Command("adb", "shell", "rm", "-r", name.toString()).execute();
}
public void push(File local, File remote) {