mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 19:19:32 +03:00
ZTS: Fix zfs_copies_002_pos
The function `get_used_prop` does not exist. Use `get_prop used` instead. Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: John Kennedy <john.kennedy@delphix.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ryan Moeller <ryan@iXsystems.com> Closes #10059
This commit is contained in:
parent
abef699866
commit
647ff8e975
@ -76,7 +76,7 @@ sync
|
|||||||
log_note "Verify 'zfs list' can correctly list the space charged."
|
log_note "Verify 'zfs list' can correctly list the space charged."
|
||||||
fsize=${FILESIZE%[m|M]}
|
fsize=${FILESIZE%[m|M]}
|
||||||
for val in 1 2 3; do
|
for val in 1 2 3; do
|
||||||
used=$(get_used_prop $TESTPOOL/fs_$val)
|
used=$(get_prop used $TESTPOOL/fs_$val)
|
||||||
check_used $used $val
|
check_used $used $val
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user