Merge pull request #10187 from jfrazelle/update-skip-graphtest

update graphtest
This commit is contained in:
Michael Crosby 2015-01-21 14:09:16 -08:00
commit b8fe989b9b
1 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@ import (
"io/ioutil" "io/ioutil"
"os" "os"
"path" "path"
"strings"
"syscall" "syscall"
"testing" "testing"
@ -73,7 +74,7 @@ func newDriver(t *testing.T, name string) *Driver {
d, err := graphdriver.GetDriver(name, root, nil) d, err := graphdriver.GetDriver(name, root, nil)
if err != 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.Skipf("Driver %s not supported", name)
} }
t.Fatal(err) t.Fatal(err)