~pwlars/ubuntu-test-cases/krillin-recovery

1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

AUTOPILOT="autopilot"
if [ "$1" = "-3" ]; then
	AUTOPILOT="autopilot3"
	shift
fi

UTAH_PROBE_DIR="${UTAH_PROBE_DIR-/var/cache/utah-probes}"
adb-shell mkdir -p /tmp/xmlresults

adb-shell sudo -i -u phablet bash -ic \"cd /home/phablet/autopilot \; UTAH_PROBE_DIR=$UTAH_PROBES_DIR $AUTOPILOT run -v -f xml -o /tmp/xmlresults/$*.xml $*\"