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
=== modified file '_integration-tests/main.go'
--- _integration-tests/main.go 2015-06-18 02:45:11 +0000
+++ _integration-tests/main.go 2015-06-19 05:01:59 +0000
@@ -1,3 +1,22 @@
1// -*- Mode: Go; indent-tabs-mode: t -*-
2
3/*
4 * Copyright (C) 2015 Canonical Ltd
5 *
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 3 as
8 * published by the Free Software Foundation.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 *
18 */
19
1package main20package main
221
3import (22import (
@@ -11,7 +30,7 @@
11const (30const (
12 baseDir = "/tmp/snappy-test"31 baseDir = "/tmp/snappy-test"
13 debsTestBedPath = "/tmp/snappy-debs"32 debsTestBedPath = "/tmp/snappy-debs"
14 defaultRelease = "15.04"33 defaultRelease = "rolling"
15 defaultChannel = "edge"34 defaultChannel = "edge"
16 defaultArch = "amd64"35 defaultArch = "amd64"
17)36)
@@ -39,7 +58,8 @@
39 "bzr", "bd",58 "bzr", "bd",
40 fmt.Sprintf("--result-dir=%s", debsDir),59 fmt.Sprintf("--result-dir=%s", debsDir),
41 "--split",60 "--split",
42 rootPath)61 rootPath,
62 "--", "-uc", "-us")
43}63}
4464
45func createImage(release, channel string) {65func createImage(release, channel string) {
4666
=== modified file '_integration-tests/tests/snappy_test.go'
--- _integration-tests/tests/snappy_test.go 2015-06-18 15:44:51 +0000
+++ _integration-tests/tests/snappy_test.go 2015-06-19 05:01:59 +0000
@@ -1,3 +1,22 @@
1// -*- Mode: Go; indent-tabs-mode: t -*-
2
3/*
4 * Copyright (C) 2015 Canonical Ltd
5 *
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 3 as
8 * published by the Free Software Foundation.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 *
18 */
19
1package tests20package tests
221
3import (22import (

Subscribers

People subscribed via source and target branches

to all changes: