Don't hardcode dependency on aufs in the tests

Upstream-commit: 1e5c61041f54de1146d8edb44e85b9419f4f6342
Component: engine
This commit is contained in:
Solomon Hykes
2013-11-08 02:49:08 +00:00
parent 07ffba21a6
commit f7fbe4b377

View File

@ -5,7 +5,7 @@ import (
"bytes"
"errors"
"github.com/dotcloud/docker/archive"
"github.com/dotcloud/docker/aufs"
"github.com/dotcloud/docker/graphdriver"
"github.com/dotcloud/docker/utils"
"io"
"io/ioutil"
@ -296,7 +296,7 @@ func tempGraph(t *testing.T) *Graph {
if err != nil {
t.Fatal(err)
}
backend, err := aufs.Init(path.Join(tmp, "driver"))
backend, err := graphdriver.New(tmp)
if err != nil {
t.Fatal(err)
}