Merge pull request #209 from rajasec/tmpfsunmount

make localtest fills up /tmp with /tmp/libcontainer
This commit is contained in:
Mrunal Patel
2015-08-18 10:24:44 -07:00
+2
View File
@@ -7,6 +7,7 @@ import (
"io/ioutil"
"os"
"path/filepath"
"syscall"
"testing"
"github.com/docker/docker/pkg/mount"
@@ -97,6 +98,7 @@ func TestFactoryNewTmpfs(t *testing.T) {
if !found {
t.Fatalf("Factory Root is not listed in mounts list")
}
defer syscall.Unmount(root, syscall.MNT_DETACH)
}
func TestFactoryLoadNotExists(t *testing.T) {