Skip to content

Commit

Permalink
Merge pull request #10187 from jfrazelle/update-skip-graphtest
Browse files Browse the repository at this point in the history
update graphtest
  • Loading branch information
crosbymichael committed Jan 21, 2015
2 parents 12dd9af + f0d79c0 commit b8fe989
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion daemon/graphdriver/graphtest/graphtest.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"io/ioutil"
"os"
"path"
"strings"
"syscall"
"testing"

Expand Down Expand Up @@ -73,7 +74,7 @@ func newDriver(t *testing.T, name string) *Driver {

d, err := graphdriver.GetDriver(name, root, nil)
if err != nil {
if err == graphdriver.ErrNotSupported || err == graphdriver.ErrPrerequisites {
if err == graphdriver.ErrNotSupported || err == graphdriver.ErrPrerequisites || strings.Contains(err.Error(), "'overlay' is not supported over") {
t.Skipf("Driver %s not supported", name)
}
t.Fatal(err)
Expand Down

0 comments on commit b8fe989

Please sign in to comment.