From: Kinglong Mee <kinglongmee@gmail.com>
To: "J. Bruce Fields" <bfields@fieldses.org>
Cc: linux-nfs@vger.kernel.org
Subject: [PATCH] nfs4.1: check whether old session is discard for EID5f
Date: Tue, 24 Dec 2013 10:58:50 +0800 [thread overview]
Message-ID: <52B8F86A.1040509@gmail.com> (raw)
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
---
nfs4.1/server41tests/st_exchange_id.py | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/nfs4.1/server41tests/st_exchange_id.py b/nfs4.1/server41tests/st_exchange_id.py
index c31af95..d2c0c97 100644
--- a/nfs4.1/server41tests/st_exchange_id.py
+++ b/nfs4.1/server41tests/st_exchange_id.py
@@ -244,7 +244,12 @@ def testNoUpdate101(t, env):
# Old session state should not be discarded until confirm:
res = sess1.compound([])
check(res)
- # FIXME - more checks here
+
+ # Old session state should be discarded after confirm:
+ sess2 = c2.create_session()
+ check(res)
+ res = sess1.compound([])
+ check(res, NFS4ERR_BADSESSION)
def testNoUpdate101b(t, env):
"""
--
1.8.4.2
next reply other threads:[~2013-12-24 2:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-24 2:58 Kinglong Mee [this message]
2014-01-06 20:42 ` [PATCH] nfs4.1: check whether old session is discard for EID5f J. Bruce Fields
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=52B8F86A.1040509@gmail.com \
--to=kinglongmee@gmail.com \
--cc=bfields@fieldses.org \
--cc=linux-nfs@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).