* [PATCH ndctl] test/security.sh: Replace cxl with $CXL
@ 2023-04-05 15:04 Xiao Yang
2023-04-05 16:09 ` Dave Jiang
0 siblings, 1 reply; 2+ messages in thread
From: Xiao Yang @ 2023-04-05 15:04 UTC (permalink / raw)
To: nvdimm; +Cc: Xiao Yang
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(-)
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH ndctl] test/security.sh: Replace cxl with $CXL
2023-04-05 15:04 [PATCH ndctl] test/security.sh: Replace cxl with $CXL Xiao Yang
@ 2023-04-05 16:09 ` Dave Jiang
0 siblings, 0 replies; 2+ messages in thread
From: Dave Jiang @ 2023-04-05 16:09 UTC (permalink / raw)
To: Xiao Yang, nvdimm
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-04-05 16:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-05 15:04 [PATCH ndctl] test/security.sh: Replace cxl with $CXL Xiao Yang
2023-04-05 16:09 ` Dave Jiang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox