Skip to content

Commit

Permalink
tests: user_property_001_pos: Remove unnecessary evals
Browse files Browse the repository at this point in the history
Reviewed-by: Tony Hutter <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Alexander Motin <[email protected]>
Reviewed-by: Tino Reichardt <[email protected]>
Reviewed-by: Allan Jude <[email protected]>
Signed-off-by: Mateusz Piotrowski <[email protected]>
Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Closes #16248
  • Loading branch information
0mp authored and behlendorf committed Aug 8, 2024
1 parent b38fccc commit 7ceb9ad
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ while ((i < ${#names[@]})); do
typeset name="${names[$i]}"
typeset value="${values[$i]}"

log_must eval "zpool set $name='$value' $TESTPOOL"
log_must eval "check_user_prop $TESTPOOL $name '$value'"
log_must zpool set "$name=$value" "$TESTPOOL"
log_must check_user_prop "$TESTPOOL" "$name" "$value"

((i += 1))
done
Expand Down

0 comments on commit 7ceb9ad

Please sign in to comment.