Lines Matching refs:ART_TEST_CHROOT
27 if [[ -n "$ART_TEST_CHROOT" ]]; then
29 [[ "x$ART_TEST_CHROOT" = x/* ]] || { echo "$ART_TEST_CHROOT is not an absolute path"; exit 1; }
31 if adb shell test -d "$ART_TEST_CHROOT"; then
34 echo -e "${green}List open files under chroot dir $ART_TEST_CHROOT${nc}"
35 adb shell lsof | grep "$ART_TEST_CHROOT"
46 | sed -n -e "s,^.* \\(/proc/.*/root\\) -> $ART_TEST_CHROOT\$,\\1,p" \
64 echo -e "${green}List processes running from binaries under chroot dir $ART_TEST_CHROOT${nc}"
69 echo -e "${green}Tear down the chroot set up in $ART_TEST_CHROOT${nc}"
81 local dir="$ART_TEST_CHROOT/$dir_in_chroot"
109 adb shell rm -f "$ART_TEST_CHROOT/etc"
110 adb shell rm -rf "$ART_TEST_CHROOT/system/etc"
113 adb shell rm -rf "$ART_TEST_CHROOT/data/local/tmp"
114 adb shell rm -rf "$ART_TEST_CHROOT/data/dalvik-cache"
115 adb shell rm -rf "$ART_TEST_CHROOT/tmp"
124 adb shell rm -f "$ART_TEST_CHROOT$f"
141 "chroot dir $ART_TEST_CHROOT (if any)${nc} "