On 4/5/23 8:04 AM, Xiao Yang wrote:
Try to avoid the "cxl: command not found" error when
cxl command is not installed to $PATH.

Signed-off-by: Xiao Yang <yangx...@fujitsu.com>

Reviewed-by: Dave Jiang <dave.ji...@intel.com>

Thanks for the catch.

---
  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

Reply via email to