Merge lp:~elopio/snappy/go-tests4 into lp:~fgimenez/snappy/go-functional-tests

Proposed by Leo Arias
Status: Merged
Approved by: Federico Gimenez
Approved revision: 513
Merged at revision: 511
Proposed branch: lp:~elopio/snappy/go-tests4
Merge into: lp:~fgimenez/snappy/go-functional-tests
Diff against target: 72 lines (+41/-2)
2 files modified
_integration-tests/main.go (+22/-2)
_integration-tests/tests/snappy_test.go (+19/-0)
To merge this branch: bzr merge lp:~elopio/snappy/go-tests4
Reviewer Review Type Date Requested Status
Federico Gimenez Approve
Review via email: mp+262410@code.launchpad.net

Commit message

Just some details: copyright and don't sign.

To post a comment you must log in.
lp:~elopio/snappy/go-tests4 updated
513. By Leo Arias

Use rolling by default.

Revision history for this message
Federico Gimenez (fgimenez) wrote :

Thanks! :)

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file '_integration-tests/main.go'
2--- _integration-tests/main.go 2015-06-18 02:45:11 +0000
3+++ _integration-tests/main.go 2015-06-19 05:01:59 +0000
4@@ -1,3 +1,22 @@
5+// -*- Mode: Go; indent-tabs-mode: t -*-
6+
7+/*
8+ * Copyright (C) 2015 Canonical Ltd
9+ *
10+ * This program is free software: you can redistribute it and/or modify
11+ * it under the terms of the GNU General Public License version 3 as
12+ * published by the Free Software Foundation.
13+ *
14+ * This program is distributed in the hope that it will be useful,
15+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+ * GNU General Public License for more details.
18+ *
19+ * You should have received a copy of the GNU General Public License
20+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
21+ *
22+ */
23+
24 package main
25
26 import (
27@@ -11,7 +30,7 @@
28 const (
29 baseDir = "/tmp/snappy-test"
30 debsTestBedPath = "/tmp/snappy-debs"
31- defaultRelease = "15.04"
32+ defaultRelease = "rolling"
33 defaultChannel = "edge"
34 defaultArch = "amd64"
35 )
36@@ -39,7 +58,8 @@
37 "bzr", "bd",
38 fmt.Sprintf("--result-dir=%s", debsDir),
39 "--split",
40- rootPath)
41+ rootPath,
42+ "--", "-uc", "-us")
43 }
44
45 func createImage(release, channel string) {
46
47=== modified file '_integration-tests/tests/snappy_test.go'
48--- _integration-tests/tests/snappy_test.go 2015-06-18 15:44:51 +0000
49+++ _integration-tests/tests/snappy_test.go 2015-06-19 05:01:59 +0000
50@@ -1,3 +1,22 @@
51+// -*- Mode: Go; indent-tabs-mode: t -*-
52+
53+/*
54+ * Copyright (C) 2015 Canonical Ltd
55+ *
56+ * This program is free software: you can redistribute it and/or modify
57+ * it under the terms of the GNU General Public License version 3 as
58+ * published by the Free Software Foundation.
59+ *
60+ * This program is distributed in the hope that it will be useful,
61+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
62+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
63+ * GNU General Public License for more details.
64+ *
65+ * You should have received a copy of the GNU General Public License
66+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
67+ *
68+ */
69+
70 package tests
71
72 import (

Subscribers

People subscribed via source and target branches

to all changes: