From 4b79c7bb93ff9ec201e15547e4b6cc4c30312fd1 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Fri, 19 Nov 2021 11:29:01 +0100 Subject: [PATCH] tools: tests: check for 'timeout' program I noticed that tools ptests fail on minimal yocto systems and the culprit of that is missing the timeout command. Check for it before launching the bats suite. Signed-off-by: Bartosz Golaszewski --- tools/gpio-tools-test | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/gpio-tools-test b/tools/gpio-tools-test index b3d19f5..9517974 100755 --- a/tools/gpio-tools-test +++ b/tools/gpio-tools-test @@ -38,6 +38,7 @@ check_prog bats check_prog modprobe check_prog rmmod check_prog udevadm +check_prog timeout # Check if we're running a kernel at the required version or later check_kernel $MIN_KERNEL_VERSION -- 2.30.2