Merge lp:~vishalbhoj/lava-android-test/fix-sdcard-mounted.sh into lp:lava-android-test

Proposed by vishal
Status: Merged
Merged at revision: 262
Proposed branch: lp:~vishalbhoj/lava-android-test/fix-sdcard-mounted.sh
Merge into: lp:lava-android-test
Diff against target: 12 lines (+1/-1)
1 file modified
lava_android_test/test_definitions/hostshells/sdcard-mounted.sh (+1/-1)
To merge this branch: bzr merge lp:~vishalbhoj/lava-android-test/fix-sdcard-mounted.sh
Reviewer Review Type Date Requested Status
Yongqin Liu Approve
Review via email: mp+185038@code.launchpad.net

Description of the change

Fix sdcard partition test. It should report as sdcard present when it uses internal partition.

To post a comment you must log in.
Revision history for this message
Yongqin Liu (liuyq0307) wrote :

Thanks

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lava_android_test/test_definitions/hostshells/sdcard-mounted.sh'
2--- lava_android_test/test_definitions/hostshells/sdcard-mounted.sh 2012-10-11 10:21:49 +0000
3+++ lava_android_test/test_definitions/hostshells/sdcard-mounted.sh 2013-09-11 12:38:31 +0000
4@@ -54,7 +54,7 @@
5 if [ -n "${SERIAL}" ]; then
6 ADB_OPTION="-s ${SERIAL}"
7 fi
8- adb ${ADB_OPTION} shell mount |grep '/sdcard'
9+ adb ${ADB_OPTION} shell mount |grep -e '/sdcard' -e 'emulated'
10 if [ $? -eq 0 ]; then
11 echo "sdcard-mounted=pass"
12 else

Subscribers

People subscribed via source and target branches