~elopio/snappy/remove_ssh_copy

« back to all changes in this revision

Viewing changes to _integration-tests/tests/build_test.go

Build message error and install command generalized to work across versions by fgimenez approved by elopio

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
        // install built snap and check output
59
59
        installOutput := InstallSnap(c, snapName)
60
60
        defer RemoveSnap(c, basicSnapName)
61
 
        expected = "" +
 
61
        expected = "(?ms)" +
62
62
                "Installing " + snapName + "\n" +
63
63
                ".*Signature check failed, but installing anyway as requested\n" +
64
64
                "Name +Date +Version +Developer \n" +
73
73
}
74
74
 
75
75
func (s *buildSuite) TestBuildWrongYamlSnapOnSnappy(c *C) {
76
 
        commonWrongTest(c, wrongYamlSnapName, "can not parse package.yaml:.*\n")
 
76
        commonWrongTest(c, wrongYamlSnapName, "(?msi).*Can not parse.*yaml: line 2: mapping values are not allowed in this context.*")
77
77
}
78
78
 
79
79
func (s *buildSuite) TestBuildMissingReadmeSnapOnSnappy(c *C) {