From: Alison Schofield <alison.schofield@intel.com>
To: Vishal Verma <vishal.l.verma@intel.com>
Cc: linux-cxl@vger.kernel.org, nvdimm@lists.linux.dev
Subject: Re: [PATCH ndctl] test/cxl-xor-region.sh: skip instead of fail for missing cxl_test
Date: Fri, 13 Jan 2023 09:56:24 -0800 [thread overview]
Message-ID: <Y8GbSNR5Kbvn7HR0@aschofie-mobl2> (raw)
In-Reply-To: <20230112-vv-xor-test-skip-v1-1-92ddc619ba6c@intel.com>
On Fri, Jan 13, 2023 at 10:16:21AM -0700, Vishal Verma wrote:
> Fix cxl-xor-region.sh to correctly skip if cxl_test is unavailable by
> returning the special code '77' if the modprobe fails.
Thanks Vishal!
Reviewed-by: Alison Schofield <alison.schofield@intel.com>
>
> Link: https://github.com/pmem/ndctl/issues/229
> Fixes: 05486f8bf154 ("cxl/test: add cxl_xor_region test")
> Cc: Alison Schofield <alison.schofield@intel.com>
> Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
> ---
> test/cxl-xor-region.sh | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/test/cxl-xor-region.sh b/test/cxl-xor-region.sh
> index 5c2108c..1962327 100644
> --- a/test/cxl-xor-region.sh
> +++ b/test/cxl-xor-region.sh
> @@ -4,7 +4,7 @@
>
> . $(dirname $0)/common
>
> -rc=1
> +rc=77
>
> set -ex
>
> @@ -15,6 +15,7 @@ check_prereq "jq"
> modprobe -r cxl_test
> modprobe cxl_test interleave_arithmetic=1
> udevadm settle
> +rc=1
>
> # THEORY OF OPERATION: Create x1,2,3,4 regions to exercise the XOR math
> # option of the CXL driver. As with other cxl_test tests, changes to the
>
> ---
> base-commit: b73e4e0390aae822bc91b8bf72430e6f0e84d668
> change-id: 20230112-vv-xor-test-skip-3ae4f5d065e4
>
> Best regards,
> --
> Vishal Verma <vishal.l.verma@intel.com>
>
prev parent reply other threads:[~2023-01-13 18:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-13 17:16 [PATCH ndctl] test/cxl-xor-region.sh: skip instead of fail for missing cxl_test Vishal Verma
2023-01-13 17:56 ` Alison Schofield [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y8GbSNR5Kbvn7HR0@aschofie-mobl2 \
--to=alison.schofield@intel.com \
--cc=linux-cxl@vger.kernel.org \
--cc=nvdimm@lists.linux.dev \
--cc=vishal.l.verma@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox