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

« back to all changes in this revision

Viewing changes to utils/host/autopilot-run

  • Committer: Paul Larson
  • Date: 2014-10-21 15:40:57 UTC
  • Revision ID: paul.larson@canonical.com-20141021154057-zk465lswaexddae7
Find a better default location for the wifi configuration

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
 
 
3
AUTOPILOT="autopilot"
 
4
if [ "$1" = "-3" ]; then
 
5
        AUTOPILOT="autopilot3"
 
6
        shift
 
7
fi
3
8
 
4
9
UTAH_PROBE_DIR="${UTAH_PROBE_DIR-/var/cache/utah-probes}"
5
10
adb-shell mkdir -p /tmp/xmlresults
6
11
 
7
 
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 $*\"
 
12
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 $*\"