On 14/10/2024 14:49, Li Zhijian wrote: > Add jd requirement check explicitly like others so that the test can > be skipped when no jd is installed.
Fix a typo s/jd/jq > > Signed-off-by: Li Zhijian <[email protected]> > --- > 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
