github.com/afein/docker@v1.8.2/daemon/graphdriver/zfs/zfs_test.go (about) 1 // +build linux 2 3 package zfs 4 5 import ( 6 "github.com/docker/docker/daemon/graphdriver/graphtest" 7 "testing" 8 ) 9 10 // This avoids creating a new driver for each test if all tests are run 11 // Make sure to put new tests between TestZfsSetup and TestZfsTeardown 12 func TestZfsSetup(t *testing.T) { 13 graphtest.GetDriver(t, "zfs") 14 } 15 16 func TestZfsCreateEmpty(t *testing.T) { 17 graphtest.DriverTestCreateEmpty(t, "zfs") 18 } 19 20 func TestZfsCreateBase(t *testing.T) { 21 graphtest.DriverTestCreateBase(t, "zfs") 22 } 23 24 func TestZfsCreateSnap(t *testing.T) { 25 graphtest.DriverTestCreateSnap(t, "zfs") 26 } 27 28 func TestZfsTeardown(t *testing.T) { 29 graphtest.PutDriver(t) 30 }