Merge lp://staging/~brendan-donegan/phablet-tools/bug1411697 into lp://staging/phablet-tools

Proposed by Brendan Donegan
Status: Needs review
Proposed branch: lp://staging/~brendan-donegan/phablet-tools/bug1411697
Merge into: lp://staging/phablet-tools
Diff against target: 16 lines (+4/-2)
1 file modified
phablet-test-run (+4/-2)
To merge this branch: bzr merge lp://staging/~brendan-donegan/phablet-tools/bug1411697
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Cris Dywan (community) Approve
Review via email: mp+246725@code.staging.launchpad.net

Commit message

Use exec_with_adb_user to create the temporary directory for pushing .deb files to

Description of the change

Create the temporary directory for copying .deb files to with exec_with_adb_user so that files can be adb pushed there without a permissions error

To post a comment you must log in.
Revision history for this message
Cris Dywan (kalikiana) wrote :

This won't suffice for deleting an existing problematic folder. You need "exec_with_adb rm -rf /tmp/phablet-run-test/" to remove it in all cases.

review: Needs Fixing
335. By Brendan Donegan

Remove /tmp/phablet-run-test as root in case it exists from a previous run of the buggy version of phablet-test-run

336. By Brendan Donegan

No need for the second call to rm -rf

Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

> This won't suffice for deleting an existing problematic folder. You need
> "exec_with_adb rm -rf /tmp/phablet-run-test/" to remove it in all cases.

Thanks, that is a possible corner case. Doing that makes the second call to rm -rf redundant too so I removed that

Revision history for this message
Cris Dywan (kalikiana) wrote :

Looking nice!

I'm obviously not a phablet team member, so I'm just approving this based on the fact that it solves the problems I was experiencing and somebody official will have to look into it.

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Cris Dywan (kalikiana) wrote :

Any chance this will be reviewed?

Unmerged revisions

336. By Brendan Donegan

No need for the second call to rm -rf

335. By Brendan Donegan

Remove /tmp/phablet-run-test as root in case it exists from a previous run of the buggy version of phablet-test-run

334. By Brendan Donegan

Create temporary directory as the phablet user

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches