diff options
author | Chase Qi <chase.qi@linaro.org> | 2018-06-28 09:18:42 +0000 |
---|---|---|
committer | Linaro Code Review <review@review.linaro.org> | 2018-06-28 09:18:42 +0000 |
commit | 0a9d1e405e4574167fec12256ae21f7b0f57131d (patch) | |
tree | c3f83cae4028ad6ee86a56d22f6fa277368975d4 /automated/android | |
parent | 3e244144e2a6a1a6a923a070b98472fdda0eab46 (diff) | |
parent | b99e14d88ed055b1668dd63d3a86cb0a7fea16dd (diff) |
Merge "boottime/device-script.sh: specify -F when search "(""
Diffstat (limited to 'automated/android')
-rwxr-xr-x | automated/android/boottime/device-script.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/automated/android/boottime/device-script.sh b/automated/android/boottime/device-script.sh index d2d74d7..00c7be9 100755 --- a/automated/android/boottime/device-script.sh +++ b/automated/android/boottime/device-script.sh @@ -346,7 +346,7 @@ getBootTimeInfoFromDmesg(){ ## use the last one line, and report the case later after checked all the logs SURFACEFLINGER_BOOT_TIME_INFO=$(grep "Boot is finished" "${LOG_LOGCAT_ALL}"|tail -n1) if [ -n "${SURFACEFLINGER_BOOT_TIME_INFO}" ]; then - while echo "${SURFACEFLINGER_BOOT_TIME_INFO}"|grep -q "("; do + while echo "${SURFACEFLINGER_BOOT_TIME_INFO}"|grep -q -F "("; do SURFACEFLINGER_BOOT_TIME_INFO=$(echo "${SURFACEFLINGER_BOOT_TIME_INFO}"|cut -d\( -f2-) done SURFACEFLINGER_BOOT_TIME_MS=$(echo "${SURFACEFLINGER_BOOT_TIME_INFO}"|cut -d\ -f1) |