From 647ff8e975d2087ade05d862eb19a589ab155126 Mon Sep 17 00:00:00 2001 From: Ryan Moeller Date: Wed, 26 Feb 2020 17:29:13 -0500 Subject: [PATCH] ZTS: Fix zfs_copies_002_pos The function `get_used_prop` does not exist. Use `get_prop used` instead. Reviewed-by: George Melikov Reviewed-by: John Kennedy Reviewed-by: Brian Behlendorf Signed-off-by: Ryan Moeller Closes #10059 --- .../tests/functional/cli_root/zfs_copies/zfs_copies_002_pos.ksh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_002_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_002_pos.ksh index 828837348..c88e30041 100755 --- a/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_002_pos.ksh +++ b/tests/zfs-tests/tests/functional/cli_root/zfs_copies/zfs_copies_002_pos.ksh @@ -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