Add jd requirement check explicitly like others so that the test can be skipped when no jd is installed.
Signed-off-by: Li Zhijian <lizhij...@fujitsu.com> --- test/security.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/test/security.sh b/test/security.sh index f954aec3e25a..d3a840c23276 100755 --- a/test/security.sh +++ b/test/security.sh @@ -220,6 +220,7 @@ else fi check_prereq "keyctl" +check_prereq "jq" uid="$(keyctl show | grep -Eo "_uid.[0-9]+" | head -1 | cut -d. -f2-)" if [ "$uid" -ne 0 ]; then -- 2.29.2