1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Don't hardcode dependency on aufs in the tests

This commit is contained in:
Solomon Hykes 2013-11-08 02:49:08 +00:00
parent 99210c9c6e
commit 1e5c61041f

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)
}