fail test if server returned no delegation, even when giving a valid reason. Signed-off-by: Benny Halevy <bhalevy@xxxxxxxxxx> --- 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 895916a..c64a7ef 100644 --- a/nfs4.1/server41tests/st_open.py +++ b/nfs4.1/server41tests/st_open.py @@ -141,7 +141,7 @@ def testReadDeleg(t, env): check(res) fh = res.resarray[-1].object deleg = res.resarray[-2].delegation - if deleg.delegation_type == OPEN_DELEGATE_NONE: + if deleg.delegation_type == OPEN_DELEGATE_NONE or deleg.delegation_type == OPEN_DELEGATE_NONE_EXT: fail("Could not get delegation") # c2 - OPEN - WRITE sess2 = env.c1.new_client_session("%s_2" % env.testname(t)) -- 1.7.6.5 -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html