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
=== modified file 'lava_android_test/test_definitions/hostshells/sdcard-mounted.sh'
--- lava_android_test/test_definitions/hostshells/sdcard-mounted.sh 2012-10-11 10:21:49 +0000
+++ lava_android_test/test_definitions/hostshells/sdcard-mounted.sh 2013-09-11 12:38:31 +0000
@@ -54,7 +54,7 @@
54 if [ -n "${SERIAL}" ]; then54 if [ -n "${SERIAL}" ]; then
55 ADB_OPTION="-s ${SERIAL}"55 ADB_OPTION="-s ${SERIAL}"
56 fi56 fi
57 adb ${ADB_OPTION} shell mount |grep '/sdcard'57 adb ${ADB_OPTION} shell mount |grep -e '/sdcard' -e 'emulated'
58 if [ $? -eq 0 ]; then58 if [ $? -eq 0 ]; then
59 echo "sdcard-mounted=pass"59 echo "sdcard-mounted=pass"
60 else60 else

Subscribers

People subscribed via source and target branches