From 0479896b5793504f2b0e7f278a64e7ccb0d851c8 Mon Sep 17 00:00:00 2001 From: CyberLeo Date: Sat, 30 Mar 2013 19:07:50 -0500 Subject: [PATCH] test: raidz1 2 through 8 wide --- tests/zpool-raidz1-01 | 6 ++++++ tests/zpool-raidz1-012 | 1 + tests/zpool-raidz1-0123 | 1 + tests/zpool-raidz1-01234 | 1 + tests/zpool-raidz1-012345 | 1 + tests/zpool-raidz1-0123456 | 1 + tests/zpool-raidz1-01234567 | 1 + 7 files changed, 12 insertions(+) create mode 100644 tests/zpool-raidz1-01 create mode 120000 tests/zpool-raidz1-012 create mode 120000 tests/zpool-raidz1-0123 create mode 120000 tests/zpool-raidz1-01234 create mode 120000 tests/zpool-raidz1-012345 create mode 120000 tests/zpool-raidz1-0123456 create mode 120000 tests/zpool-raidz1-01234567 diff --git a/tests/zpool-raidz1-01 b/tests/zpool-raidz1-01 new file mode 100644 index 0000000..bed9bcb --- /dev/null +++ b/tests/zpool-raidz1-01 @@ -0,0 +1,6 @@ +type="${test##*zpool-}" +type="${type%%-*}" +vdevs="/dev/label/zp/test/[${test##*zpool-${type}-}]" +setup() { + zpool_create ${type} ${vdevs} +} diff --git a/tests/zpool-raidz1-012 b/tests/zpool-raidz1-012 new file mode 120000 index 0000000..f67afb2 --- /dev/null +++ b/tests/zpool-raidz1-012 @@ -0,0 +1 @@ +zpool-raidz1-01 \ No newline at end of file diff --git a/tests/zpool-raidz1-0123 b/tests/zpool-raidz1-0123 new file mode 120000 index 0000000..f67afb2 --- /dev/null +++ b/tests/zpool-raidz1-0123 @@ -0,0 +1 @@ +zpool-raidz1-01 \ No newline at end of file diff --git a/tests/zpool-raidz1-01234 b/tests/zpool-raidz1-01234 new file mode 120000 index 0000000..f67afb2 --- /dev/null +++ b/tests/zpool-raidz1-01234 @@ -0,0 +1 @@ +zpool-raidz1-01 \ No newline at end of file diff --git a/tests/zpool-raidz1-012345 b/tests/zpool-raidz1-012345 new file mode 120000 index 0000000..f67afb2 --- /dev/null +++ b/tests/zpool-raidz1-012345 @@ -0,0 +1 @@ +zpool-raidz1-01 \ No newline at end of file diff --git a/tests/zpool-raidz1-0123456 b/tests/zpool-raidz1-0123456 new file mode 120000 index 0000000..f67afb2 --- /dev/null +++ b/tests/zpool-raidz1-0123456 @@ -0,0 +1 @@ +zpool-raidz1-01 \ No newline at end of file diff --git a/tests/zpool-raidz1-01234567 b/tests/zpool-raidz1-01234567 new file mode 120000 index 0000000..f67afb2 --- /dev/null +++ b/tests/zpool-raidz1-01234567 @@ -0,0 +1 @@ +zpool-raidz1-01 \ No newline at end of file -- 2.42.0