Closed
Bug 842668
Opened 12 years ago
Closed 12 years ago
Should always use dd instead of cp in devicemanagerADB
Categories
(Testing :: Mozbase, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla22
People
(Reporter: wlach, Assigned: wlach)
References
Details
Attachments
(2 files)
3.82 KB,
patch
|
gbrown
:
review+
|
Details | Diff | Splinter Review |
2.55 KB,
patch
|
ahal
:
review+
|
Details | Diff | Splinter Review |
It was brought up in bug 841969 (https://bugzilla.mozilla.org/show_bug.cgi?id=841969#c3) that supporting both "dd" and "cp" for copying around files on Android is a bit silly -- dd does everything we need and is available on all platforms. We should just use that instead all the time.
Assignee | ||
Comment 1•12 years ago
|
||
On investigation, it looks like all this "dd" stuff has to do with our run-as support in dmADB, which I was never sure was a good idea. But we can cross that bridge later, for now this seems like a nice simplification to me.
Assignee: nobody → wlachance
Attachment #715712 -
Flags: review?(gbrown)
Assignee | ||
Comment 2•12 years ago
|
||
Some code in m-c relies on the _useDDCopy variable. We should fix that in this bug too:
http://mxr.mozilla.org/mozilla-central/search?string=useDDCopy
(we don't need for the mozdevice changes to land before doing that -- since all b2g devices have dd available)
Assignee | ||
Comment 3•12 years ago
|
||
Attachment #716072 -
Flags: review?(ahalberstadt)
Assignee | ||
Comment 4•12 years ago
|
||
(In reply to William Lachance (:wlach) from comment #3)
> Created attachment 716072 [details] [diff] [review]
> Patch to always use dd copy from b2g unit/ref tests
Did a try run to go along with this one: https://tbpl.mozilla.org/?tree=Try&rev=dcb49022a43f
Comment 5•12 years ago
|
||
Comment on attachment 716072 [details] [diff] [review]
Patch to always use dd copy from b2g unit/ref tests
Review of attachment 716072 [details] [diff] [review]:
-----------------------------------------------------------------
lgtm!
Attachment #716072 -
Flags: review?(ahalberstadt) → review+
Updated•12 years ago
|
Attachment #715712 -
Flags: review?(gbrown) → review+
Assignee | ||
Comment 6•12 years ago
|
||
Assignee | ||
Comment 7•12 years ago
|
||
Comment 8•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
You need to log in
before you can comment on or make changes to this bug.
Description
•