Some test cases use the getconf command to query the page size that the kernel supports (e.g. scsi/011, throtl/{002,003,007}, zbd/{010,014}). Add getconf to the list of required commands so its absence is reported clearly, and document it as a dependency in README.md. Link: https://lore.kernel.org/linux-block/ajm1x0koQ4BftBOc@shinmob/ Signed-off-by: Shin'ichiro Kawasaki --- README.md | 1 + check | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index b137a43..b62540a 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ The dependencies are minimal, but make sure you have them installed: - fio - gcc - make +- getconf - systemd-udev (udevadm) Some tests require the following: diff --git a/check b/check index a68049b..bc2dde9 100755 --- a/check +++ b/check @@ -1118,6 +1118,7 @@ _check_dependencies() { required_commands_and_packages[blockdev]="util-linux" required_commands_and_packages[fio]="fio" required_commands_and_packages[udevadm]="systemd-udev" + required_commands_and_packages[getconf]="glibc-common or libc-bin" for cmd in "${!required_commands_and_packages[@]}"; do command -v "$cmd" &> /dev/null && continue -- 2.54.0