Try to avoid the "cxl: command not found" error when
cxl command is not installed to $PATH.

Signed-off-by: Xiao Yang <[email protected]>
---
 test/security.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/security.sh b/test/security.sh
index fb04aa6..4713288 100755
--- a/test/security.sh
+++ b/test/security.sh
@@ -225,7 +225,7 @@ if [ "$uid" -ne 0 ]; then
 fi
 
 modprobe "$KMOD_TEST"
-cxl list
+$CXL list
 setup
 check_prereq "keyctl"
 rc=1
-- 
2.37.3


Reply via email to