File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
tests/zfs-tests/tests/functional/cli_root/zdb Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ function test_imported_pool
59
59
{
60
60
typeset -a args=(" -A" " -b" " -C" " -c" " -d" " -D" " -G" " -h" " -i" " -L" \
61
61
" -M" " -P" " -s" " -v" " -Y" " -y" )
62
- for i in ${args[@]} ; do
62
+ for i in ${args[@]} ; do
63
63
log_must eval " zdb $i $TESTPOOL >/dev/null"
64
64
done
65
65
}
@@ -69,7 +69,7 @@ function test_exported_pool
69
69
log_must zpool export $TESTPOOL
70
70
typeset -a args=(" -A" " -b" " -C" " -c" " -d" " -D" " -F" " -G" " -h" " -i" " -L" " -M" \
71
71
" -P" " -s" " -v" " -X" " -Y" " -y" )
72
- for i in ${args[@]} ; do
72
+ for i in ${args[@]} ; do
73
73
log_must eval " zdb -e $i $TESTPOOL >/dev/null"
74
74
done
75
75
log_must zpool import $TESTPOOL
@@ -81,15 +81,15 @@ function test_vdev
81
81
VDEVS=$( get_pool_devices ${TESTPOOL} ${DEV_RDSKDIR} )
82
82
log_note $VDEVS
83
83
set -A VDEV_ARRAY $VDEVS
84
- for i in ${args[@]} ; do
84
+ for i in ${args[@]} ; do
85
85
log_must eval " zdb -l $i ${VDEV_ARRAY[0]} >/dev/null"
86
86
done
87
87
}
88
88
89
89
function test_metaslab
90
90
{
91
91
typeset -a args=(" -A" " -L" " -P" " -Y" )
92
- for i in ${args[@]} ; do
92
+ for i in ${args[@]} ; do
93
93
log_must eval " zdb -m $i $TESTPOOL >/dev/null"
94
94
done
95
95
}
You can’t perform that action at this time.
0 commit comments