Lines Matching refs:ART_TEST_CHROOT
30 if [[ -n "$ART_TEST_CHROOT" ]]; then
32 [[ "x$ART_TEST_CHROOT" = x/* ]] || { echo "$ART_TEST_CHROOT is not an absolute path"; exit 1; }
34 if adb shell test -d "$ART_TEST_CHROOT"; then
37 echo -e "${green}List open files under chroot dir $ART_TEST_CHROOT${nc}"
38 adb shell lsof | grep "$ART_TEST_CHROOT"
49 | sed -n -e "s,^.* \\(/proc/.*/root\\) -> $ART_TEST_CHROOT\$,\\1,p" \
67 echo -e "${green}List processes running from binaries under chroot dir $ART_TEST_CHROOT${nc}"
72 echo -e "${green}Tear down the chroot set up in $ART_TEST_CHROOT${nc}"
84 local dir="$ART_TEST_CHROOT/$dir_in_chroot"
96 adb shell rm -f "$ART_TEST_CHROOT/bin"
99 adb shell rm -rf "$ART_TEST_CHROOT/apex"
115 adb shell rm -f "$ART_TEST_CHROOT/etc"
116 adb shell rm -rf "$ART_TEST_CHROOT/system/etc"
119 adb shell rm -rf "$ART_TEST_CHROOT/data/local/tmp"
120 adb shell rm -rf "$ART_TEST_CHROOT/data/dalvik-cache"
121 adb shell rm -rf "$ART_TEST_CHROOT/tmp"
130 adb shell rm -f "$ART_TEST_CHROOT$f"
147 "chroot dir $ART_TEST_CHROOT (if any)${nc} "