File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed
tests/zfs-tests/tests/functional/cli_root Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,11 @@ for (( i=0; i < ${#tests[@]}; i+=1 )); do
161
161
log_fail eval " zpool add -n '$TESTPOOL ' $add "
162
162
fi
163
163
if [[ " $out " != " $want " ]]; then
164
- log_fail " Got:\n" " $out " " \nbut expected:\n" " $want "
164
+ log_note " Got:"
165
+ log_note " $out "
166
+ log_note " but expected:"
167
+ log_note " $want "
168
+ log_fail " Dry run does not display config correctly"
165
169
fi
166
170
log_must destroy_pool " $TESTPOOL "
167
171
done
Original file line number Diff line number Diff line change @@ -133,7 +133,11 @@ for (( i=0; i < ${#tests[@]}; i+=1 )); do
133
133
log_fail eval " zpool create -n '$TESTPOOL ' $tree "
134
134
fi
135
135
if [[ " $out " != " $want " ]]; then
136
- log_fail " Got:\n" " $out " " \nbut expected:\n" " $want "
136
+ log_note " Got:"
137
+ log_note " $out "
138
+ log_note " but expected:"
139
+ log_note " $want "
140
+ log_fail " Dry run does not display config correctly"
137
141
fi
138
142
done
139
143
Original file line number Diff line number Diff line change @@ -146,7 +146,11 @@ for (( i=0; i < ${#tests[@]}; i+=1 )); do
146
146
log_fail eval " zpool split -n '$TESTPOOL ' '$NEWPOOL ' $devs "
147
147
fi
148
148
if [[ " $out " != " $want " ]]; then
149
- log_fail " Got:\n" " $out " " \nbut expected:\n" " $want "
149
+ log_note " Got:"
150
+ log_note " $out "
151
+ log_note " but expected:"
152
+ log_note " $want "
153
+ log_fail " Dry run does not display config correctly"
150
154
fi
151
155
log_must destroy_pool " $TESTPOOL "
152
156
done
You can’t perform that action at this time.
0 commit comments