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-12-10 21:29:39 +01:00
|
|
|
zpoolTestPoolVDevTree(t)
|
2015-06-08 23:41:22 +02:00
|
|
|
zpoolTestExport(t)
|
2015-12-10 21:29:39 +01:00
|
|
|
zpoolTestPoolImportSearch(t)
|
2015-06-08 23:41:22 +02:00
|
|
|
zpoolTestImport(t)
|
2020-04-22 15:41:23 +02:00
|
|
|
zpoolTestInitialization(t)
|
2015-06-08 23:41:22 +02:00
|
|
|
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)
|
2020-02-10 11:12:46 +01:00
|
|
|
// zfsTestMountPointConcurrency(t)
|
|
|
|
// time.Sleep(15 * time.Second)
|
|
|
|
|
2020-07-16 13:30:11 +02:00
|
|
|
zfsTestResumeTokenUnpack(t)
|
|
|
|
|
2015-06-03 22:42:48 +02:00
|
|
|
zfsTestDatasetSnapshot(t)
|
2020-07-16 13:30:11 +02:00
|
|
|
zfsTestSendSize(t)
|
2015-06-03 22:42:48 +02:00
|
|
|
zfsTestDatasetOpenAll(t)
|
2018-04-12 11:27:31 +02:00
|
|
|
zfsTestDatasetSetProperty(t)
|
2018-11-02 11:15:55 +01:00
|
|
|
zfsTestDatasetHoldRelease(t)
|
2015-06-03 22:42:48 +02:00
|
|
|
|
|
|
|
zfsTestDatasetDestroy(t)
|
|
|
|
|
|
|
|
zpoolTestPoolDestroy(t)
|
2015-06-08 23:41:22 +02:00
|
|
|
|
|
|
|
cleanupVDisks()
|
2015-06-03 22:42:48 +02:00
|
|
|
}
|