From 67e716329b905b1f2951739297c7aebacb6a6b2c Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Tue, 28 Oct 2025 18:41:36 +0200 Subject: [PATCH] ZTS: autotrim_config.ksh is missing pool type functional/trim tests do create pools of different types to test trim, autotrim_config.ksh is missing the type from zpool create command line while we are looping over different pool types. Sponsored-by: Edgecast Cloud LLC. Signed-off-by: Toomas Soome Reviewed-by: Alexander Motin Reviewed-by: Brian Behlendorf Closes #17874 --- tests/zfs-tests/tests/functional/trim/autotrim_config.ksh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/zfs-tests/tests/functional/trim/autotrim_config.ksh b/tests/zfs-tests/tests/functional/trim/autotrim_config.ksh index 8d4340e47..a8deedfb8 100755 --- a/tests/zfs-tests/tests/functional/trim/autotrim_config.ksh +++ b/tests/zfs-tests/tests/functional/trim/autotrim_config.ksh @@ -88,7 +88,7 @@ for type in "" "mirror" "raidz2" "draid"; do fi log_must truncate -s $((4 * MINVDEVSIZE)) $VDEVS - log_must zpool create -f $TESTPOOL $VDEVS + log_must zpool create -f $TESTPOOL $type $VDEVS log_must zpool set autotrim=on $TESTPOOL typeset availspace=$(get_prop available $TESTPOOL)