tests: zfs_set_common: check_prop_inherit: print faulty values
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #12996
This commit is contained in:
parent
2feba9a6d8
commit
e09762c6c2
|
@ -289,8 +289,8 @@ function check_prop_source
|
|||
|
||||
if [[ "$chk_value" != "$value" || "$chk_source" != "$source" ]]
|
||||
then
|
||||
log_note "expected (value '$value', source '$source'), got \
|
||||
(value '$chk_value', source '$chk_source')"
|
||||
log_note "expected (value '$value', source '$source')," \
|
||||
"got (value '$chk_value', source '$chk_source')"
|
||||
return 1
|
||||
else
|
||||
return 0
|
||||
|
@ -318,6 +318,8 @@ function check_prop_inherit
|
|||
if [[ "$value" != "$inherited_value" || \
|
||||
"$source" != "inherited from $inherited_dtst" ]]
|
||||
then
|
||||
log_note "expected (value '$inherited_value', source 'inherited from $inherited_dtst')," \
|
||||
"got (value '$value', source '$source')"
|
||||
return 1
|
||||
else
|
||||
return 0
|
||||
|
|
Loading…
Reference in New Issue