tests: zdb_args_pos.ksh: fix indentation
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: John Kennedy <john.kennedy@delphix.com> Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #13259
This commit is contained in:
parent
20093de25c
commit
912d2aa7d7
|
@ -59,7 +59,7 @@ function test_imported_pool
|
||||||
{
|
{
|
||||||
typeset -a args=("-A" "-b" "-C" "-c" "-d" "-D" "-G" "-h" "-i" "-L" \
|
typeset -a args=("-A" "-b" "-C" "-c" "-d" "-D" "-G" "-h" "-i" "-L" \
|
||||||
"-M" "-P" "-s" "-v" "-Y" "-y")
|
"-M" "-P" "-s" "-v" "-Y" "-y")
|
||||||
for i in ${args[@]}; do
|
for i in ${args[@]}; do
|
||||||
log_must eval "zdb $i $TESTPOOL >/dev/null"
|
log_must eval "zdb $i $TESTPOOL >/dev/null"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
@ -69,7 +69,7 @@ function test_exported_pool
|
||||||
log_must zpool export $TESTPOOL
|
log_must zpool export $TESTPOOL
|
||||||
typeset -a args=("-A" "-b" "-C" "-c" "-d" "-D" "-F" "-G" "-h" "-i" "-L" "-M" \
|
typeset -a args=("-A" "-b" "-C" "-c" "-d" "-D" "-F" "-G" "-h" "-i" "-L" "-M" \
|
||||||
"-P" "-s" "-v" "-X" "-Y" "-y")
|
"-P" "-s" "-v" "-X" "-Y" "-y")
|
||||||
for i in ${args[@]}; do
|
for i in ${args[@]}; do
|
||||||
log_must eval "zdb -e $i $TESTPOOL >/dev/null"
|
log_must eval "zdb -e $i $TESTPOOL >/dev/null"
|
||||||
done
|
done
|
||||||
log_must zpool import $TESTPOOL
|
log_must zpool import $TESTPOOL
|
||||||
|
@ -81,7 +81,7 @@ function test_vdev
|
||||||
VDEVS=$(get_pool_devices ${TESTPOOL} ${DEV_RDSKDIR})
|
VDEVS=$(get_pool_devices ${TESTPOOL} ${DEV_RDSKDIR})
|
||||||
log_note $VDEVS
|
log_note $VDEVS
|
||||||
set -A VDEV_ARRAY $VDEVS
|
set -A VDEV_ARRAY $VDEVS
|
||||||
for i in ${args[@]}; do
|
for i in ${args[@]}; do
|
||||||
log_must eval "zdb -l $i ${VDEV_ARRAY[0]} >/dev/null"
|
log_must eval "zdb -l $i ${VDEV_ARRAY[0]} >/dev/null"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
@ -89,7 +89,7 @@ function test_vdev
|
||||||
function test_metaslab
|
function test_metaslab
|
||||||
{
|
{
|
||||||
typeset -a args=("-A" "-L" "-P" "-Y")
|
typeset -a args=("-A" "-L" "-P" "-Y")
|
||||||
for i in ${args[@]}; do
|
for i in ${args[@]}; do
|
||||||
log_must eval "zdb -m $i $TESTPOOL >/dev/null"
|
log_must eval "zdb -m $i $TESTPOOL >/dev/null"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue