Move detach flags to platform specific

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
This commit is contained in:
Derek McGowan
2017-08-22 17:20:25 -07:00
parent f74cea71dd
commit 96a75ab1ab
7 changed files with 22 additions and 11 deletions

5
testutil/mount_linux.go Normal file
View File

@@ -0,0 +1,5 @@
package testutil
import "golang.org/x/sys/unix"
const umountflags int = unix.MNT_DETACH