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