From a508b25343448d44cec38ced996a932bc46da63a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20Wei=C3=9Fschuh?= Date: Tue, 6 Aug 2024 19:44:00 +0200 Subject: [PATCH] tests: properly look for ts_cap helper MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Helpers should use ts_check_test_command, not ts_check_prog. Signed-off-by: Thomas Weißschuh --- tests/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functions.sh b/tests/functions.sh index 4a00b2ff4..630166871 100644 --- a/tests/functions.sh +++ b/tests/functions.sh @@ -168,7 +168,7 @@ function ts_skip_nonroot { # ts_skip_capability cap_wake_alarm # function ts_skip_capability { - ts_check_prog "$TS_HELPER_CAP" + ts_check_test_command "$TS_HELPER_CAP" if ! "$TS_HELPER_CAP" "$1"; then ts_skip "no capability: $1" -- 2.47.3