Skip to content

Commit 51244ac

Browse files
committed
tests: update to use _get_page_size to get PAGE_SIZE
Signed-off-by: Yi Zhang <[email protected]>
1 parent 255189f commit 51244ac

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

tests/throtl/002

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ test() {
2121
local io_size_kb block_size
2222
local iops=256
2323

24-
page_size=$(getconf PAGE_SIZE)
24+
page_size=$(_get_page_size)
2525

2626
if ! _set_up_throtl --sector_size "${page_size}"; then
2727
return 1;

tests/throtl/003

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ test() {
1818
echo "Running ${TEST_NAME}"
1919

2020
local page_size
21-
page_size=$(getconf PAGE_SIZE)
21+
page_size=$(_get_page_size)
2222

2323
if ! _set_up_throtl --sector_size "${page_size}"; then
2424
return 1;

tests/throtl/007

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ test() {
1919
echo "Running ${TEST_NAME}"
2020

2121
local page_size
22-
page_size=$(getconf PAGE_SIZE)
22+
page_size=$(_get_page_size)
2323

2424
if ! _set_up_throtl --sector_size "${page_size}"; then
2525
return 1;

tests/zbd/014

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ run_test() {
112112
local bio_max_vecs=256
113113

114114
local page_size
115-
page_size=$(getconf PAGE_SIZE)
115+
page_size=$(_get_page_size)
116116

117117
# In bytes.
118118
local max_inl_encr_bio_size=$((bio_max_vecs * page_size))

0 commit comments

Comments
 (0)