public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] 4.1 CLNT: Create session before using at OPEN6
@ 2011-10-28  9:57 Mi Jinlong
  2011-11-04 21:52 ` J. Bruce Fields
  0 siblings, 1 reply; 3+ messages in thread
From: Mi Jinlong @ 2011-10-28  9:57 UTC (permalink / raw)
  To: J. Bruce Fields; +Cc: NFS

4.1 CLNT: Create session before using at OPEN6

Signed-off-by: Mi Jinlong <mijinlong@cn.fujitsu.com>
---
 nfs4.1/server41tests/st_open.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/nfs4.1/server41tests/st_open.py b/nfs4.1/server41tests/st_open.py
index 2aa3ec4..bd995a5 100644
--- a/nfs4.1/server41tests/st_open.py
+++ b/nfs4.1/server41tests/st_open.py
@@ -192,7 +192,7 @@ def testEXCLUSIVE4AtNameAttribute(t, env):
     FLAGS: open all
     CODE: OPEN6
     """
-    sess1 = env.c1.new_client(env.testname(t))
+    sess1 = env.c1.new_client_session(env.testname(t))
 
     res = create_file(sess1, env.testname(t), mode=EXCLUSIVE4_1)
     check(res)
-- 
1.7.5.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/3] 4.1 CLNT: Create session before using at OPEN6
  2011-10-28  9:57 [PATCH 1/3] 4.1 CLNT: Create session before using at OPEN6 Mi Jinlong
@ 2011-11-04 21:52 ` J. Bruce Fields
  2011-11-04 22:18   ` J. Bruce Fields
  0 siblings, 1 reply; 3+ messages in thread
From: J. Bruce Fields @ 2011-11-04 21:52 UTC (permalink / raw)
  To: Mi Jinlong; +Cc: NFS

On Fri, Oct 28, 2011 at 05:57:48PM +0800, Mi Jinlong wrote:
> 4.1 CLNT: Create session before using at OPEN6

Makes sense--but then how did this test ever work?

--b.

> 
> Signed-off-by: Mi Jinlong <mijinlong@cn.fujitsu.com>
> ---
>  nfs4.1/server41tests/st_open.py |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/nfs4.1/server41tests/st_open.py b/nfs4.1/server41tests/st_open.py
> index 2aa3ec4..bd995a5 100644
> --- a/nfs4.1/server41tests/st_open.py
> +++ b/nfs4.1/server41tests/st_open.py
> @@ -192,7 +192,7 @@ def testEXCLUSIVE4AtNameAttribute(t, env):
>      FLAGS: open all
>      CODE: OPEN6
>      """
> -    sess1 = env.c1.new_client(env.testname(t))
> +    sess1 = env.c1.new_client_session(env.testname(t))
>  
>      res = create_file(sess1, env.testname(t), mode=EXCLUSIVE4_1)
>      check(res)
> -- 
> 1.7.5.1
> 
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/3] 4.1 CLNT: Create session before using at OPEN6
  2011-11-04 21:52 ` J. Bruce Fields
@ 2011-11-04 22:18   ` J. Bruce Fields
  0 siblings, 0 replies; 3+ messages in thread
From: J. Bruce Fields @ 2011-11-04 22:18 UTC (permalink / raw)
  To: Mi Jinlong; +Cc: NFS

On Fri, Nov 04, 2011 at 05:52:11PM -0400, J. Bruce Fields wrote:
> On Fri, Oct 28, 2011 at 05:57:48PM +0800, Mi Jinlong wrote:
> > 4.1 CLNT: Create session before using at OPEN6
> 
> Makes sense--but then how did this test ever work?

Oh, I see, it didn't--I just added it to the skip-list for my tests
without investigating.

Thanks, applied!

--b.

> 
> --b.
> 
> > 
> > Signed-off-by: Mi Jinlong <mijinlong@cn.fujitsu.com>
> > ---
> >  nfs4.1/server41tests/st_open.py |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> > 
> > diff --git a/nfs4.1/server41tests/st_open.py b/nfs4.1/server41tests/st_open.py
> > index 2aa3ec4..bd995a5 100644
> > --- a/nfs4.1/server41tests/st_open.py
> > +++ b/nfs4.1/server41tests/st_open.py
> > @@ -192,7 +192,7 @@ def testEXCLUSIVE4AtNameAttribute(t, env):
> >      FLAGS: open all
> >      CODE: OPEN6
> >      """
> > -    sess1 = env.c1.new_client(env.testname(t))
> > +    sess1 = env.c1.new_client_session(env.testname(t))
> >  
> >      res = create_file(sess1, env.testname(t), mode=EXCLUSIVE4_1)
> >      check(res)
> > -- 
> > 1.7.5.1
> > 
> > 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-11-04 22:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-28  9:57 [PATCH 1/3] 4.1 CLNT: Create session before using at OPEN6 Mi Jinlong
2011-11-04 21:52 ` J. Bruce Fields
2011-11-04 22:18   ` J. Bruce Fields

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox