testing/mozbase/mozdevice/sut_tests/setup-tools.sh

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/testing/mozbase/mozdevice/sut_tests/setup-tools.sh	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,10 @@
     1.4 +#!/bin/sh
     1.5 +
     1.6 +if [ ! -f busybox-armv6l ]
     1.7 +then
     1.8 +    wget http://busybox.net/downloads/binaries/1.19.0/busybox-armv6l
     1.9 +fi
    1.10 +$ADB remount
    1.11 +$ADB push busybox-armv6l /system/bin/busybox
    1.12 +
    1.13 +$ADB shell 'cd /system/bin; chmod 555 busybox; for x in `./busybox --list`; do ln -s ./busybox $x; done'

mercurial