1#!/bin/bash 2 3# Copy the tests across. 4adb shell rm -rf /data/local/tmp/ziptool-tests/ 5adb shell mkdir /data/local/tmp/ziptool-tests/ 6adb push cli-tests/ /data/local/tmp/ziptool-tests/ 7#adb push cli-test /data/local/tmp/ziptool-tests/ 8 9if tty -s; then 10 dash_t="-t" 11else 12 dash_t="" 13fi 14 15exec adb shell $dash_t cli-test /data/local/tmp/ziptool-tests/cli-tests/*.test 16