aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtests/test-runner/bin/zts-report.py1
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_008_pos.ksh14
2 files changed, 2 insertions, 13 deletions
diff --git a/tests/test-runner/bin/zts-report.py b/tests/test-runner/bin/zts-report.py
index b61a1fde5..a6937b52c 100755
--- a/tests/test-runner/bin/zts-report.py
+++ b/tests/test-runner/bin/zts-report.py
@@ -191,7 +191,6 @@ maybe = {
'cli_root/zfs_snapshot/zfs_snapshot_002_neg': ['FAIL', known_reason],
'cli_root/zfs_unshare/setup': ['SKIP', share_reason],
'cli_root/zpool_add/zpool_add_004_pos': ['FAIL', known_reason],
- 'cli_root/zpool_create/zpool_create_008_pos': ['FAIL', known_reason],
'cli_root/zpool_destroy/zpool_destroy_001_pos': ['SKIP', '6145'],
'cli_root/zpool_import/import_rewind_device_replaced':
['FAIL', rewind_reason],
diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_008_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_008_pos.ksh
index 5c5c1d94d..fa1d2b60c 100755
--- a/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_008_pos.ksh
+++ b/tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_008_pos.ksh
@@ -44,18 +44,6 @@
verify_runnable "global"
-if is_linux; then
- # Versions of libblkid older than 2.27.0 will not always detect member
- # devices of a pool, therefore skip this test case for old versions.
- currentver="$(blkid -v | tr ',' ' ' | awk '/libblkid/ { print $6 }')"
- requiredver="2.27.0"
-
- if [ "$(printf "$requiredver\n$currentver" | sort -V | head -n1)" == \
- "$currentver" ] && [ "$currentver" != "$requiredver" ]; then
- log_unsupported "libblkid ($currentver) may not detect pools"
- fi
-fi
-
function cleanup
{
if [[ $exported_pool == true ]]; then
@@ -153,6 +141,8 @@ fi
log_must zpool create -f $TESTPOOL $disk
destroy_pool $TESTPOOL
log_must partition_disk $SIZE $disk 6
+block_device_wait
+
create_pool $TESTPOOL ${disk}${SLICE_PREFIX}${SLICE0} \
${disk}${SLICE_PREFIX}${SLICE1}
log_must zpool export $TESTPOOL