Closed Bug 1046380 Opened 10 years ago Closed 10 years ago

mozdevice's dmcli should have a command to get a temporary storage area (aka the deviceroot)

Categories

(Testing :: Mozbase, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla34

People

(Reporter: wlach, Assigned: wlach)

References

Details

Attachments

(2 files)

For bug 1015382 it would be useful to get the temporary storage area using the command line client. This could also be useful for debugging.
With this patch applied you can do this:

(mozbase)wlach@popsicle:~/src/mozilla-central-hg/testing/mozbase$ dm deviceroot/storage/sdcard0/tests
Attachment #8464990 - Flags: review?(armenzg)
Comment on attachment 8464990 [details] [diff] [review]
Patch to add functionality

Review of attachment 8464990 [details] [diff] [review]:
-----------------------------------------------------------------

lgtm
Attachment #8464990 - Flags: review?(armenzg) → review+
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/09b0fd7d8261
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → mozilla34
Depends on: 1048957
Eugh, my original implementation put the result in standard error, which wasn't what we wanted. We want to put the output in standard output, so we can use it later (e.g. as input to another dm command, which we want for eideticker).
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached patch Update to patchSplinter Review
Feeling a bit embarassed I didn't catch this before landing.
Attachment #8468886 - Flags: review?(armenzg)
Comment on attachment 8468886 [details] [diff] [review]
Update to patch

Review of attachment 8468886 [details] [diff] [review]:
-----------------------------------------------------------------

It happens.
Attachment #8468886 - Flags: review?(armenzg) → review+
Please check in https://bugzilla.mozilla.org/attachment.cgi?id=8468886 . Note that no try run is necessary as nothing in the build/test cycle uses this functionality. I have run a quick test by myself to make sure it works as expected.
Keywords: checkin-needed
I will land this.
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/553f3204be32
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: