~mfoord/juju-core/ha-rsyslog-2

« back to all changes in this revision

Viewing changes to container/kvm/live_test.go

  • Committer: Michael Foord
  • Date: 2014-05-22 14:23:16 UTC
  • mfrom: (2728.22.5 009-ha-rsyslog-api)
  • Revision ID: michael.foord@canonical.com-20140522142316-hd3u3yyfi2xydzei
Merge back to good revision

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
        "launchpad.net/juju-core/instance"
20
20
        jujutesting "launchpad.net/juju-core/juju/testing"
21
21
        coretesting "launchpad.net/juju-core/testing"
 
22
        "launchpad.net/juju-core/testing/testbase"
22
23
        "launchpad.net/juju-core/tools"
23
24
        "launchpad.net/juju-core/version"
24
25
)
25
26
 
26
27
type LiveSuite struct {
27
 
        coretesting.BaseSuite
 
28
        testbase.LoggingSuite
28
29
        ContainerDir string
29
30
        RemovedDir   string
30
31
}
32
33
var _ = gc.Suite(&LiveSuite{})
33
34
 
34
35
func (s *LiveSuite) SetUpTest(c *gc.C) {
35
 
        s.BaseSuite.SetUpTest(c)
 
36
        s.LoggingSuite.SetUpTest(c)
36
37
        // Skip if not linux
37
38
        if runtime.GOOS != "linux" {
38
39
                c.Skip("not running linux")