diff options
author | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2014-08-27 14:33:17 +0000 |
---|---|---|
committer | Linaro Code Review <review@review.linaro.org> | 2014-08-27 14:33:17 +0000 |
commit | 8de5d1ee55fe34b4df375d177e3401cbc1bd534f (patch) | |
tree | b85879df1937716568539d31ae383337667532c8 | |
parent | 0675ecdd2034a8f0441b0850582b89e47b4c4a1c (diff) | |
parent | 0772fc8f1d7f21c2c00e4e4ba9518fb3510c844c (diff) |
Merge "busybox.sh: change to operate files under /data/local/tmp/"2014.08
-rwxr-xr-x | android/scripts/busybox.sh | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/android/scripts/busybox.sh b/android/scripts/busybox.sh index 076102a..4ba2519 100755 --- a/android/scripts/busybox.sh +++ b/android/scripts/busybox.sh @@ -41,15 +41,16 @@ test_func(){ rm -r /data/busybox 1>/dev/null 2>/dev/null -test_func mkdir /data/busybox -test_func touch /data/busybox/test.txt -test_func ls /data/busybox/test.txt +tgt_dir="/data/local/tmp/" +test_func mkdir ${tgt_dir}/busybox +test_func touch ${tgt_dir}/busybox/test.txt +test_func ls ${tgt_dir}/busybox/test.txt test_func ps test_func whoami test_func which busybox test_func basename /data/busybox/test.txt -test_func cp /data/busybox/test.txt /data/busybox/test2.txt -test_func rm /data/busybox/test2.txt +test_func cp ${tgt_dir}/busybox/test.txt ${tgt_dir}/busybox/test2.txt +test_func rm ${tgt_dir}/busybox/test2.txt test_func dmesg test_func grep service /init.rc |