diff --git a/tests/throtl/002 b/tests/throtl/002 index 08e685f3..275c9001 100755 --- a/tests/throtl/002 +++ b/tests/throtl/002 @@ -21,7 +21,7 @@ test() { local io_size_kb block_size local iops=256 - page_size=$(getconf PAGE_SIZE) + page_size=$(_get_page_size) if ! _set_up_throtl --sector_size "${page_size}"; then return 1; diff --git a/tests/throtl/003 b/tests/throtl/003 index 700e9e6a..b45123a1 100755 --- a/tests/throtl/003 +++ b/tests/throtl/003 @@ -18,7 +18,7 @@ test() { echo "Running ${TEST_NAME}" local page_size - page_size=$(getconf PAGE_SIZE) + page_size=$(_get_page_size) if ! _set_up_throtl --sector_size "${page_size}"; then return 1; diff --git a/tests/throtl/007 b/tests/throtl/007 index 97dece6c..4292feba 100755 --- a/tests/throtl/007 +++ b/tests/throtl/007 @@ -19,7 +19,7 @@ test() { echo "Running ${TEST_NAME}" local page_size - page_size=$(getconf PAGE_SIZE) + page_size=$(_get_page_size) if ! _set_up_throtl --sector_size "${page_size}"; then return 1; diff --git a/tests/zbd/014 b/tests/zbd/014 index 35ecc851..2733a60d 100755 --- a/tests/zbd/014 +++ b/tests/zbd/014 @@ -112,7 +112,7 @@ run_test() { local bio_max_vecs=256 local page_size - page_size=$(getconf PAGE_SIZE) + page_size=$(_get_page_size) # In bytes. local max_inl_encr_bio_size=$((bio_max_vecs * page_size))