diff options
author | Giuseppe Di Natale <[email protected]> | 2018-02-20 16:28:52 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-02-20 16:28:52 -0800 |
commit | f2c0dee23b65fb2581a0257bdaaecf892ca800c1 (patch) | |
tree | ab121688e374942ad3a42c1a49398608a3960fa9 /tests/zfs-tests | |
parent | 163a8c28dd7084bd85a32968c2b7941e99ead161 (diff) |
Correct count_uberblocks in mmp.kshlib
A log_must call was causing count_uberblocks to return more
than just the uberblock count. Remove the log_must since it
was only logging a sleep.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Olaf Faaland <[email protected]>
Reviewed-by: loli10K <[email protected]>
Signed-off-by: Giuseppe Di Natale <[email protected]>
Closes #7191
Diffstat (limited to 'tests/zfs-tests')
-rw-r--r-- | tests/zfs-tests/tests/functional/mmp/mmp.kshlib | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/zfs-tests/tests/functional/mmp/mmp.kshlib b/tests/zfs-tests/tests/functional/mmp/mmp.kshlib index 4c46ae7a2..1f8d66fd9 100644 --- a/tests/zfs-tests/tests/functional/mmp/mmp.kshlib +++ b/tests/zfs-tests/tests/functional/mmp/mmp.kshlib @@ -198,6 +198,6 @@ function count_uberblocks # pool duration typeset -i duration=$2 typeset hist_path="/proc/spl/kstat/zfs/$pool/multihost" - log_must sleep $duration + sleep $duration echo $(cat "$hist_path" | sed '1,2d' | wc -l) } |