|
@@ -563,7 +563,7 @@ func (s *DockerDaemonSuite) TestDaemonExitOnFailure(c *check.C) {
|
|
//attempt to start daemon with incorrect flags (we know -b and --bip conflict)
|
|
//attempt to start daemon with incorrect flags (we know -b and --bip conflict)
|
|
if err := s.d.Start("--bridge", "nosuchbridge", "--bip", "1.1.1.1"); err != nil {
|
|
if err := s.d.Start("--bridge", "nosuchbridge", "--bip", "1.1.1.1"); err != nil {
|
|
//verify we got the right error
|
|
//verify we got the right error
|
|
- if !strings.Contains(err.Error(), "Daemon exited and never started") {
|
|
|
|
|
|
+ if !strings.Contains(err.Error(), "Daemon exited") {
|
|
c.Fatalf("Expected daemon not to start, got %v", err)
|
|
c.Fatalf("Expected daemon not to start, got %v", err)
|
|
}
|
|
}
|
|
// look in the log and make sure we got the message that daemon is shutting down
|
|
// look in the log and make sure we got the message that daemon is shutting down
|