Merge lp:~fgimenez/snappy/fix-installsnap-call into lp:~snappy-dev/snappy/snappy-moved-to-github

Proposed by Federico Gimenez
Status: Merged
Approved by: Michael Vogt
Approved revision: 531
Merged at revision: 530
Proposed branch: lp:~fgimenez/snappy/fix-installsnap-call
Merge into: lp:~snappy-dev/snappy/snappy-moved-to-github
Diff against target: 25 lines (+6/-2)
1 file modified
_integration-tests/tests/install_test.go (+6/-2)
To merge this branch: bzr merge lp:~fgimenez/snappy/fix-installsnap-call
Reviewer Review Type Date Requested Status
Michael Vogt (community) Approve
Review via email: mp+263336@code.launchpad.net

Commit message

Fixed installSnap call and added exec import

Description of the change

Fixed installSnap call and added exec import

To post a comment you must log in.
Revision history for this message
Michael Vogt (mvo) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file '_integration-tests/tests/install_test.go'
2--- _integration-tests/tests/install_test.go 2015-06-29 23:13:39 +0000
3+++ _integration-tests/tests/install_test.go 2015-06-30 11:05:28 +0000
4@@ -19,7 +19,11 @@
5
6 package tests
7
8-import . "gopkg.in/check.v1"
9+import (
10+ "os/exec"
11+
12+ . "gopkg.in/check.v1"
13+)
14
15 var _ = Suite(&InstallSuite{})
16
17@@ -56,7 +60,7 @@
18 }
19
20 func (s *InstallSuite) TestCallBinaryWithPermissionDeniedMustPrintError(c *C) {
21- s.installSnap(c, "hello-world")
22+ installSnap(c, "hello-world")
23
24 cmd := exec.Command("hello-world.evil")
25 echoOutput, err := cmd.CombinedOutput()

Subscribers

People subscribed via source and target branches