40 lines
811 B
Go
40 lines
811 B
Go
package zfs_test
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
/* ------------------------------------------------------------------------- */
|
|
// TESTS ARE DEPENDED AND MUST RUN IN DEPENDENT ORDER
|
|
|
|
func Test(t *testing.T) {
|
|
zpoolTestPoolCreate(t)
|
|
zpoolTestPoolVDevTree(t)
|
|
zpoolTestExport(t)
|
|
zpoolTestPoolImportSearch(t)
|
|
zpoolTestImport(t)
|
|
zpoolTestInitialization(t)
|
|
zpoolTestExportForce(t)
|
|
zpoolTestImportByGUID(t)
|
|
zpoolTestPoolProp(t)
|
|
zpoolTestPoolStatusAndState(t)
|
|
zpoolTestPoolOpenAll(t)
|
|
zpoolTestFailPoolOpen(t)
|
|
|
|
zfsTestDatasetCreate(t)
|
|
zfsTestDatasetOpen(t)
|
|
// zfsTestMountPointConcurrency(t)
|
|
// time.Sleep(15 * time.Second)
|
|
|
|
zfsTestDatasetSnapshot(t)
|
|
zfsTestDatasetOpenAll(t)
|
|
zfsTestDatasetSetProperty(t)
|
|
zfsTestDatasetHoldRelease(t)
|
|
|
|
zfsTestDatasetDestroy(t)
|
|
|
|
zpoolTestPoolDestroy(t)
|
|
|
|
cleanupVDisks()
|
|
}
|