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 <tsoome@me.com>
Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #17874
This commit is contained in:
Toomas Soome 2025-10-28 18:41:36 +02:00 committed by Brian Behlendorf
parent 672fea2a50
commit 82d59f7666

View File

@ -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)