blob: 30141da7d1d5cf25f3386e1ddadd7be93ca692e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/sh -e
# Busybox smoke tests.
OUTPUT="$(pwd)/output"
# shellcheck disable=SC1091
. ../../lib/sh-test-lib
# shellcheck disable=SC1091
. ../../lib/android-test-lib
initialize_adb
wait_boot_completed "300"
create_out_dir "${OUTPUT}"
adb_push "./device-script.sh" "/data/local/tmp/bin/"
adb -s "${SN}" shell '/data/local/tmp/bin/device-script.sh 2>&1' \
| tee "${OUTPUT}/device-stdout.log"
adb_pull "/data/local/tmp/busybox/result.txt" "${OUTPUT}/"
|