From: Thomas Weißschuh Date: Tue, 6 Aug 2024 17:44:00 +0000 (+0200) Subject: tests: properly look for ts_cap helper X-Git-Tag: v2.42-start~244^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a508b25343448d44cec38ced996a932bc46da63a;p=thirdparty%2Futil-linux.git tests: properly look for ts_cap helper Helpers should use ts_check_test_command, not ts_check_prog. Signed-off-by: Thomas Weißschuh --- 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"