From: Shivaprasad G Bhat <sbhat@linux.ibm.com> To: nvdimm@lists.linux.dev Cc: aneesh.kumar@linux.ibm.com, sbhat@linux.ibm.com, vaibhav@linux.ibm.com, dan.j.williams@intel.com, ira.weiny@intel.com, vishal.l.verma@intel.com Subject: [PATCH v2 2/3] ndtest/ack-shutdown-count: Skip the test on ndtest Date: Tue, 07 Sep 2021 15:37:30 +0000 [thread overview] Message-ID: <163102903696.260256.10931405414411762002.stgit@99912bbcb4c7> (raw) In-Reply-To: <163102900429.260256.4127745415928272196.stgit@99912bbcb4c7> The PAPR has non-latched dirty shutdown implementation. The test is enabling/disabling the LSS latch which is irrelavent from PAPR pov. Skip the test. Signed-off-by: Shivaprasad G Bhat <sbhat@linux.ibm.com> --- test/ack-shutdown-count-set.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/ack-shutdown-count-set.c b/test/ack-shutdown-count-set.c index c561ff34..17c40e88 100644 --- a/test/ack-shutdown-count-set.c +++ b/test/ack-shutdown-count-set.c @@ -117,6 +117,7 @@ static int test_ack_shutdown_count_set(int loglevel, struct ndctl_test *test, int main(int argc, char *argv[]) { + char *test_env = getenv("NDCTL_TEST_FAMILY"); struct ndctl_test *test = ndctl_test_new(0); struct ndctl_ctx *ctx; int rc; @@ -126,6 +127,9 @@ int main(int argc, char *argv[]) return EXIT_FAILURE; } + if (test_env && strcmp(test_env, "PAPR") == 0) + return ndctl_test_result(test, 77); + rc = ndctl_new(&ctx); if (rc) return ndctl_test_result(test, rc);
next prev parent reply other threads:[~2021-09-07 15:37 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-09-07 15:36 [PATCH v2 0/3] test:ndtest: Fix various test cases " Shivaprasad G Bhat 2021-09-07 15:37 ` [PATCH v2 1/3] test/inject-smart: Enable inject-smart tests " Shivaprasad G Bhat 2021-09-07 15:37 ` Shivaprasad G Bhat [this message] 2021-09-07 15:37 ` [PATCH v2 3/3] test/monitor.sh: Partially skip monitor test " Shivaprasad G Bhat
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=163102903696.260256.10931405414411762002.stgit@99912bbcb4c7 \ --to=sbhat@linux.ibm.com \ --cc=aneesh.kumar@linux.ibm.com \ --cc=dan.j.williams@intel.com \ --cc=ira.weiny@intel.com \ --cc=nvdimm@lists.linux.dev \ --cc=vaibhav@linux.ibm.com \ --cc=vishal.l.verma@intel.com \ --subject='Re: [PATCH v2 2/3] ndtest/ack-shutdown-count: Skip the test on ndtest' \ /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
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).