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:
Ryan Moeller 2020-02-26 17:29:13 -05:00 committed by GitHub
parent abef699866
commit 647ff8e975
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ sync
log_note "Verify 'zfs list' can correctly list the space charged."
fsize=${FILESIZE%[m|M]}
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
done