diff options
author | Parménides GV <parmegv@sdf.org> | 2013-06-20 18:03:05 +0200 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2013-06-20 18:03:05 +0200 |
commit | 3f8e2f6569f893a49bf1819416cae792c702d370 (patch) | |
tree | 81b6b0d0e0b374e82afa6fc15c32716f981f0aa4 /prepareTestProviderAPI.sh | |
parent | 65e2f56a8a10877964fb9fc57963d1bf8104801a (diff) |
No untracked files.
Added two auxiliar files: prepareTestProviderAPI.sh is updated in
feature/authGui_tests.
proguard-project.txt is completely commented, but I think it may be
suitable to version control.
Diffstat (limited to 'prepareTestProviderAPI.sh')
-rwxr-xr-x | prepareTestProviderAPI.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/prepareTestProviderAPI.sh b/prepareTestProviderAPI.sh new file mode 100755 index 0000000..0eca85a --- /dev/null +++ b/prepareTestProviderAPI.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +if [ -z "$1" ] +then + echo Usage: prepareTestProviderAPI.sh \"project folder\" + exit 0; +fi + +PROJECT_FOLDER=$1 +hosts_file="hosts-for-tests" + +adb shell mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system +adb push $PROJECT_FOLDER/$hosts_file /system/etc/hosts + +echo "Pushed $PROJECT_FOLDER/$hosts_file" |