tests: user_property_001_pos: Remove unnecessary evals

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Reviewed-by: Allan Jude <allan@klarasystems.com>
Signed-off-by: Mateusz Piotrowski <0mp@FreeBSD.org>
Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Closes #16248
This commit is contained in:
Mateusz Piotrowski 2024-06-03 12:17:22 +02:00 committed by Brian Behlendorf
parent b38fccc646
commit 7ceb9ad630
1 changed files with 2 additions and 2 deletions

View File

@ -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