Skip to content

Commit 2377cdc

Browse files
author
Paul Dagnelie
committed
Fix test failures
Signed-off-by: Paul Dagnelie <[email protected]>
1 parent 4d0397d commit 2377cdc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/zfs-tests/tests/functional/cli_root/zpool_add/zpool_add_001_pos.ksh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ log_assert "'zpool add <pool> <vdev> ...' can add devices to the pool."
5555

5656
log_onexit cleanup
5757

58-
set -A keywords "" "mirror" "raidz" "raidz1" "anyraid" "anymirror1" "anymirror2" "anymirror3" "draid:1s" "draid1:1s" "spare"
58+
set -A keywords "" "mirror" "raidz" "raidz1" "anymirror" "anymirror1" "anymirror2" "anymirror3" "draid:1s" "draid1:1s" "spare"
5959

6060
create_sparse_files "disk" 4 $MINVDEVSIZE2
6161
create_sparse_files "extradisk" 4 $MINVDEVSIZE2

tests/zfs-tests/tests/functional/fault/auto_spare_001_pos.ksh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ zed_events_drain
5757
TESTFILE="/$TESTPOOL/$TESTFS/testfile"
5858

5959
for type in "mirror" "raidz" "raidz2" "draid:1s" "anymirror1" "anymirror2" "anymirror3"; do
60-
if [[ "$type" =~ "anyraid" ]]; then
60+
if [[ "$type" =~ "anymirror" ]]; then
6161
export VDEVSIZE=1073741824
6262
export TESTFILE_SIZE=268435456
6363
else

tests/zfs-tests/tests/functional/trim/trim_config.ksh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ for type in "" "mirror" "anymirror0" "anymirror1" "anymirror2" "anymirror3" "rai
9191
VDEVS="$TRIM_VDEV1 $TRIM_VDEV2 $TRIM_VDEV3 $TRIM_VDEV4"
9292
fi
9393

94-
if [[ "$type" =~ "anyraid" ]]; then
94+
if [[ "$type" =~ "anymirror" ]]; then
9595
# The AnyRAID VDEV takes some space for the mapping itself
9696
VDEV_MAX_MB=$(( floor(3 * MINVDEVSIZE * 0.75 / 1024 / 1024) ))
9797
VDEV_MIN_MB=$(( floor(3 * MINVDEVSIZE * 0.30 / 1024 / 1024) ))

0 commit comments

Comments
 (0)