From: Alexey Kodanev <aleksei.kodanev@bell-sw.com> To: Petr Vorel <pvorel@suse.cz>, ltp@lists.linux.it Cc: linux-nfs@vger.kernel.org Subject: Re: [LTP PATCH v2 1/3] nfs_lib.sh: Detect unsupported protocol Date: Wed, 2 Jun 2021 10:44:38 +0300 [thread overview] Message-ID: <210e1e4f-23d8-6a8b-18cb-ea7a4e7f89c2@bell-sw.com> (raw) In-Reply-To: <20210526172503.18621-1-pvorel@suse.cz> On 26.05.2021 20:25, Petr Vorel wrote: > Caused by disabled CONFIG_NFSD_V[34] in kernel config. > > Signed-off-by: Petr Vorel <pvorel@suse.cz> > --- > new in v2 > > testcases/network/nfs/nfs_stress/nfs_lib.sh | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/testcases/network/nfs/nfs_stress/nfs_lib.sh b/testcases/network/nfs/nfs_stress/nfs_lib.sh > index 3fad8778a..b80ee0e18 100644 > --- a/testcases/network/nfs/nfs_stress/nfs_lib.sh > +++ b/testcases/network/nfs/nfs_stress/nfs_lib.sh > @@ -94,9 +94,15 @@ nfs_mount() > > if [ $? -ne 0 ]; then > cat mount.log > + > if [ "$type" = "udp" -o "$type" = "udp6" ] && tst_kvcmp -ge 5.6; then > tst_brk TCONF "UDP support disabled with the kernel config NFS_DISABLE_UDP_SUPPORT?" > fi > + > + if grep -i "Protocol not supported" mount.log; then Hi Petr, It's better to add '-q' flag to grep. > + tst_brk TCONF "Protocol not supported" > + fi > + > tst_brk TBROK "mount command failed" > fi > } >
WARNING: multiple messages have this Message-ID (diff)
From: Alexey Kodanev <aleksei.kodanev@bell-sw.com> To: ltp@lists.linux.it Subject: [LTP] [LTP PATCH v2 1/3] nfs_lib.sh: Detect unsupported protocol Date: Wed, 2 Jun 2021 10:44:38 +0300 [thread overview] Message-ID: <210e1e4f-23d8-6a8b-18cb-ea7a4e7f89c2@bell-sw.com> (raw) In-Reply-To: <20210526172503.18621-1-pvorel@suse.cz> On 26.05.2021 20:25, Petr Vorel wrote: > Caused by disabled CONFIG_NFSD_V[34] in kernel config. > > Signed-off-by: Petr Vorel <pvorel@suse.cz> > --- > new in v2 > > testcases/network/nfs/nfs_stress/nfs_lib.sh | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/testcases/network/nfs/nfs_stress/nfs_lib.sh b/testcases/network/nfs/nfs_stress/nfs_lib.sh > index 3fad8778a..b80ee0e18 100644 > --- a/testcases/network/nfs/nfs_stress/nfs_lib.sh > +++ b/testcases/network/nfs/nfs_stress/nfs_lib.sh > @@ -94,9 +94,15 @@ nfs_mount() > > if [ $? -ne 0 ]; then > cat mount.log > + > if [ "$type" = "udp" -o "$type" = "udp6" ] && tst_kvcmp -ge 5.6; then > tst_brk TCONF "UDP support disabled with the kernel config NFS_DISABLE_UDP_SUPPORT?" > fi > + > + if grep -i "Protocol not supported" mount.log; then Hi Petr, It's better to add '-q' flag to grep. > + tst_brk TCONF "Protocol not supported" > + fi > + > tst_brk TBROK "mount command failed" > fi > } >
next prev parent reply other threads:[~2021-06-02 7:44 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-05-26 17:25 [LTP PATCH v2 1/3] nfs_lib.sh: Detect unsupported protocol Petr Vorel 2021-05-26 17:25 ` [LTP] " Petr Vorel 2021-05-26 17:25 ` [LTP PATCH v2 2/3] nfs_lib.sh: Require nfsd kernel module Petr Vorel 2021-05-26 17:25 ` [LTP] " Petr Vorel 2021-05-26 17:25 ` [LTP PATCH v2 3/3] nfs_lib.sh: Check running rpc.mountd, rpc.statd Petr Vorel 2021-05-26 17:25 ` [LTP] " Petr Vorel 2021-06-02 8:08 ` Alexey Kodanev 2021-06-02 8:08 ` [LTP] " Alexey Kodanev 2021-06-02 11:04 ` Petr Vorel 2021-06-02 11:04 ` [LTP] " Petr Vorel 2021-05-27 6:32 ` [LTP PATCH v2 1/3] nfs_lib.sh: Detect unsupported protocol Petr Vorel 2021-05-27 6:32 ` [LTP] " Petr Vorel 2021-06-01 14:11 ` Petr Vorel 2021-06-01 14:11 ` [LTP] " Petr Vorel 2021-06-02 7:44 ` Alexey Kodanev [this message] 2021-06-02 7:44 ` Alexey Kodanev 2021-06-02 11:08 ` Petr Vorel 2021-06-02 11:08 ` [LTP] " Petr Vorel
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=210e1e4f-23d8-6a8b-18cb-ea7a4e7f89c2@bell-sw.com \ --to=aleksei.kodanev@bell-sw.com \ --cc=linux-nfs@vger.kernel.org \ --cc=ltp@lists.linux.it \ --cc=pvorel@suse.cz \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.