2015-06-03 22:42:48 +02:00
|
|
|
package zfs_test
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
)
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------- */
|
|
|
|
// TESTS ARE DEPENDED AND MUST RUN IN DEPENDENT ORDER
|
|
|
|
|
|
|
|
func Test(t *testing.T) {
|
|
|
|
zpoolTestPoolCreate(t)
|
2015-06-08 23:41:22 +02:00
|
|
|
zpoolTestExport(t)
|
|
|
|
zpoolTestImport(t)
|
|
|
|
zpoolTestExportForce(t)
|
2015-12-06 21:54:43 +01:00
|
|
|
zpoolTestImportByGUID(t)
|
2015-06-09 14:26:35 +02:00
|
|
|
zpoolTestPoolProp(t)
|
|
|
|
zpoolTestPoolStatusAndState(t)
|
2015-06-03 22:42:48 +02:00
|
|
|
zpoolTestPoolOpenAll(t)
|
|
|
|
zpoolTestFailPoolOpen(t)
|
|
|
|
|
|
|
|
zfsTestDatasetCreate(t)
|
|
|
|
zfsTestDatasetOpen(t)
|
|
|
|
zfsTestDatasetSnapshot(t)
|
|
|
|
zfsTestDatasetOpenAll(t)
|
|
|
|
|
|
|
|
zfsTestDatasetDestroy(t)
|
|
|
|
|
|
|
|
zpoolTestPoolDestroy(t)
|
2015-06-08 23:41:22 +02:00
|
|
|
|
|
|
|
cleanupVDisks()
|
2015-06-03 22:42:48 +02:00
|
|
|
}
|