Message ID | 1680707060-54-1-git-send-email-yangx.jy@fujitsu.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 26d9ce3351361631677e2cae933e3641540fa807 |
Headers | show |
Series | [ndctl] test/security.sh: Replace cxl with $CXL | expand |
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.jy@fujitsu.com> Reviewed-by: Dave Jiang <dave.jiang@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
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
Try to avoid the "cxl: command not found" error when cxl command is not installed to $PATH. Signed-off-by: Xiao Yang <yangx.jy@fujitsu.com> --- test/security.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)