mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-01-14 01:02:04 +03:00
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:
parent
672fea2a50
commit
82d59f7666
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user