Searched refs:options (Results 1 - 25 of 578) sorted by last modified time

1234567891011>>

/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_create/
H A Dzfs_create_003_pos.ksh56 set -A options "" "-b 1k" "-b 1K" "-b 1024" "-b 1024b"
60 while (( i < ${#options[*]} )); do
61 log_must zfs create ${options[i]} -V $VOLSIZE $vol
63 log_fail "zfs create ${options[i]} -V $VOLSIZE $vol fail."
H A Dzfs_create_010_neg.ksh106 set -A options "" "-s"
118 while (( i < ${#options[*]} )); do
122 log_mustnot zfs create ${options[$i]} -V ${args[$j]}
123 log_mustnot zfs create -p ${options[$i]} -V ${args[$j]}
130 log_mustnot zfs create ${options[$i]} -o ${RW_VOL_PROP[j]} \
132 log_mustnot zfs create -p ${options[$i]} -o ${RW_VOL_PROP[j]} \
139 log_mustnot zfs create ${options[$i]} -o ${FS_ONLY_PROP[j]} \
141 log_mustnot zfs create -p ${options[$i]} -o ${FS_ONLY_PROP[j]} \
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_destroy/
H A Dzfs_destroy_005_neg.ksh60 # $1 the collection of options
65 typeset options=$1
78 for opt in $options; do
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_get/
H A Dzfs_get_001_pos.ksh48 typeset options=("" "-p" "-r" "-H")
50 typeset -i i=${#options[*]}
54 options[$i]=-"${depth_options[$j]}"
113 log_assert "Setting the valid options and properties 'zfs get' should return " \
127 for opt in "${options[@]}"; do
143 for opt in "${options[@]}"; do
157 log_pass "Setting the valid options to dataset, it should succeed and return " \
H A Dzfs_get_002_pos.ksh41 # 2. Getting the options and properties random combination.
48 typeset options=(" " p r H)
62 log_assert "Setting the valid options and properties 'zfs get' return " \
79 for opt in "" $(gen_option_str "${options[*]}" "-" "" $opt_numb); do
91 log_pass "Setting the valid options to dataset, 'zfs get' pass."
H A Dzfs_get_008_pos.ksh37 # Verify "-d <n>" can work with other options
41 # 2. Getting an -d option, other options and properties random combination.
48 set -A options " " "-r" "-H" "-p" "-rHp" "-o name" \
71 log_assert "Verify '-d <n>' can work with other options"
91 (( item = $RANDOM % ${#options[@]} ))
95 log_must eval "zfs get -${depth_options[depth_item]} ${options[item]} $prop $dst > /dev/null 2>&1"
104 (( item = $RANDOM % ${#options[@]} ))
106 log_must eval "$ZFS get -${depth_options[depth_item]} ${options[item]} $bookmark_props $dst > /dev/null 2>&1"
111 log_pass "Verify '-d <n>' can work with other options"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_send/
H A Dzfs_send_006_pos.ksh24 # Verify 'zfs send' can generate valid streams with different options
31 # 5. Do a dry run with different options and verify the generated size
63 if [[ $options == *"P"* ]]; then
76 typeset options=$1
87 log_fail "zfs send $options failed"
90 log_fail "zfs send $options gives wrong size estimates"
119 options="-nv"
121 estimate_size=$(get_estimate_size $full_snapshot $options)
122 log_must verify_size_estimates $options $full_size
125 options
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_unmount/
H A Dzfs_unmount_001_pos.ksh37 # using each of the various unmount options and sub-command
81 log_must zfs $cmd $options $mnt
84 log_fail "Unable to unmount $options $mnt"
86 log_note "Successfully unmounted $options $mnt"
92 set -A options "" "-f"
102 while [[ $j -lt ${#options[*]} ]]; do
105 do_unmount "${cmd[i]}" "${options[j]}" \
H A Dzfs_unmount_002_pos.ksh58 set -A options "" "-f"
61 function do_unmount_multiple #options #expect
92 while (( i < ${#options[*]} )); do
93 do_unmount_multiple "${options[i]}" 1
H A Dzfs_unmount_003_pos.ksh58 set -A options "" "-f"
62 function do_unmount_multiple #options #expect #mountpoint
100 while (( j < ${#options[*]} )); do
101 do_unmount_multiple "${options[j]}" 1 "${mopts[i]}"
H A Dzfs_unmount_004_pos.ksh59 set -A options "" "-f"
62 function do_unmount_multiple #options #expect
93 while (( i < ${#options[*]} )); do
94 do_unmount_multiple "${options[i]}" 1
H A Dzfs_unmount_005_pos.ksh60 set -A options "" "-f"
63 function do_unmount_multiple #options #expect
102 while (( i < ${#options[*]} )); do
103 if [[ ${options[i]} == "-f" ]]; then
104 do_unmount_multiple "${options[i]}"
106 do_unmount_multiple "${options[i]}" 1
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_history/
H A Dzpool_history_002_pos.ksh36 # Verify zpool history can handle options [-il] correctly.
45 log_assert "Verify zpool history can handle options [-il] correctly."
47 options="-i -l -il -li -lil -ili -lli -iill -liil"
49 for opt in $options; do
53 log_pass "Verify zpool history can handle options [-il] passed."
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dzpool_import_001_pos.ksh56 set -A options "" "-R $ALTER_ROOT"
107 while (( j < ${#options[*]} )); do
115 log_must zpool import ${devs[i]} ${options[j]} $target
122 [[ -n ${options[j]} ]] && \
H A Dzpool_import_002_pos.ksh56 set -A options "" "-R $ALTER_ROOT"
107 while (( j < ${#options[*]} )); do
116 log_must zpool import ${devs[i]} ${options[j]} $target
123 [[ -n ${options[j]} ]] && \
H A Dzpool_import_012_pos.ksh56 set -A options "" "-R $ALTER_ROOT"
132 while ((j < ${#options[*]})); do
169 ${options[j]} $target
176 ${devs[i]} ${options[j]} \
H A Dzpool_import_all_001_pos.ksh49 set -A options "" "-R $ALTER_ROOT"
195 while (( i < ${#options[*]} )); do
197 log_must zpool import -d /dev/dsk -d $DEVICE_DIR ${options[i]} -a -f
206 if [[ -n ${options[i]} ]]; then
H A Dzpool_import_missing_001_pos.ksh71 set -A options "" "-R $ALTER_ROOT"
125 while (( j < ${#options[*]} )); do
170 -d $DEVICE_DIR ${options[j]} $target
183 [[ -n ${options[j]} ]] && \
H A Dzpool_import_missing_002_pos.ksh66 set -A options "" "-R $ALTER_ROOT"
140 while (( j < ${#options[*]} )); do
185 -d $DEVICE_DIR ${options[j]} $target
H A Dzpool_import_rename_001_pos.ksh58 set -A options "" "-R $ALTER_ROOT"
117 while (( j < ${#options[*]} )); do
129 log_must zpool import ${devs[i]} ${options[j]} \
137 [[ -n ${options[j]} ]] && \
/illumos-gate/usr/src/test/zfs-tests/tests/functional/history/
H A Dhistory_009_pos.ksh108 options=${array[((i + 1))]}
110 run_and_verify "zfs $subcmd $options $testfs" "-i"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/replacement/
H A Dreplacement_001_pos.ksh66 options=""
67 options_display="default options"
71 [[ -n "$HOLES_FILESIZE" ]] && options=" $options -f $HOLES_FILESIZE "
73 [[ -n "$HOLES_BLKSIZE" ]] && options="$options -b $HOLES_BLKSIZE "
75 [[ -n "$HOLES_COUNT" ]] && options="$options -c $HOLES_COUNT "
77 [[ -n "$HOLES_SEED" ]] && options="$options
[all...]
H A Dreplacement_002_pos.ksh66 options=""
67 options_display="default options"
71 [[ -n "$HOLES_FILESIZE" ]] && options=" $options -f $HOLES_FILESIZE "
73 [[ -n "$HOLES_BLKSIZE" ]] && options="$options -b $HOLES_BLKSIZE "
75 [[ -n "$HOLES_COUNT" ]] && options="$options -c $HOLES_COUNT "
77 [[ -n "$HOLES_SEED" ]] && options="$options
[all...]
H A Dreplacement_003_pos.ksh66 options=""
67 options_display="default options"
71 [[ -n "$HOLES_FILESIZE" ]] && options=" $options -f $HOLES_FILESIZE "
73 [[ -n "$HOLES_BLKSIZE" ]] && options="$options -b $HOLES_BLKSIZE "
75 [[ -n "$HOLES_COUNT" ]] && options="$options -c $HOLES_COUNT "
77 [[ -n "$HOLES_SEED" ]] && options="$options
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/sparse/
H A Dsparse_001_pos.ksh55 options=""
56 options_display="default options"
60 [[ -n "$HOLES_FILESIZE" ]] && options=" $options -f $HOLES_FILESIZE "
62 [[ -n "$HOLES_BLKSIZE" ]] && options="$options -b $HOLES_BLKSIZE "
64 [[ -n "$HOLES_COUNT" ]] && options="$options -c $HOLES_COUNT "
66 [[ -n "$HOLES_SEED" ]] && options="$options
[all...]

Completed in 79 milliseconds

1234567891011>>