From 8a1872bf91b0e4f01bf936f8c042e716d7b67d3c Mon Sep 17 00:00:00 2001 From: CyberLeo Date: Sat, 30 Mar 2013 18:16:03 -0500 Subject: [PATCH] test: mirrored zpool with 2 through 8 disks --- tests/zpool-mirror-01 | 9 +++++++++ tests/zpool-mirror-012 | 1 + tests/zpool-mirror-0123 | 1 + tests/zpool-mirror-01234 | 1 + tests/zpool-mirror-012345 | 1 + tests/zpool-mirror-0123456 | 1 + tests/zpool-mirror-01234567 | 1 + 7 files changed, 15 insertions(+) create mode 100644 tests/zpool-mirror-01 create mode 120000 tests/zpool-mirror-012 create mode 120000 tests/zpool-mirror-0123 create mode 120000 tests/zpool-mirror-01234 create mode 120000 tests/zpool-mirror-012345 create mode 120000 tests/zpool-mirror-0123456 create mode 120000 tests/zpool-mirror-01234567 diff --git a/tests/zpool-mirror-01 b/tests/zpool-mirror-01 new file mode 100644 index 0000000..b13bb7d --- /dev/null +++ b/tests/zpool-mirror-01 @@ -0,0 +1,9 @@ +vdevs="/dev/label/zp/test/[${test##*zpool-mirror-}]" +setup() { + zpool create -O mountpoint="${scratch}" test mirror ${vdevs} + zpool status +} +teardown() { + zpool destroy test + clean_scratch +} diff --git a/tests/zpool-mirror-012 b/tests/zpool-mirror-012 new file mode 120000 index 0000000..9881c67 --- /dev/null +++ b/tests/zpool-mirror-012 @@ -0,0 +1 @@ +zpool-mirror-01 \ No newline at end of file diff --git a/tests/zpool-mirror-0123 b/tests/zpool-mirror-0123 new file mode 120000 index 0000000..9881c67 --- /dev/null +++ b/tests/zpool-mirror-0123 @@ -0,0 +1 @@ +zpool-mirror-01 \ No newline at end of file diff --git a/tests/zpool-mirror-01234 b/tests/zpool-mirror-01234 new file mode 120000 index 0000000..9881c67 --- /dev/null +++ b/tests/zpool-mirror-01234 @@ -0,0 +1 @@ +zpool-mirror-01 \ No newline at end of file diff --git a/tests/zpool-mirror-012345 b/tests/zpool-mirror-012345 new file mode 120000 index 0000000..9881c67 --- /dev/null +++ b/tests/zpool-mirror-012345 @@ -0,0 +1 @@ +zpool-mirror-01 \ No newline at end of file diff --git a/tests/zpool-mirror-0123456 b/tests/zpool-mirror-0123456 new file mode 120000 index 0000000..9881c67 --- /dev/null +++ b/tests/zpool-mirror-0123456 @@ -0,0 +1 @@ +zpool-mirror-01 \ No newline at end of file diff --git a/tests/zpool-mirror-01234567 b/tests/zpool-mirror-01234567 new file mode 120000 index 0000000..9881c67 --- /dev/null +++ b/tests/zpool-mirror-01234567 @@ -0,0 +1 @@ +zpool-mirror-01 \ No newline at end of file -- 2.42.0