From patchwork Fri Oct 4 20:28:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Mkrtchyan, Tigran" X-Patchwork-Id: 2990161 Return-Path: X-Original-To: patchwork-linux-nfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B071DBF923 for ; Fri, 4 Oct 2013 20:38:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9A12720304 for ; Fri, 4 Oct 2013 20:38:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2729E202E5 for ; Fri, 4 Oct 2013 20:38:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751685Ab3JDUiP (ORCPT ); Fri, 4 Oct 2013 16:38:15 -0400 Received: from smtp-o-3.desy.de ([131.169.56.156]:36379 "EHLO smtp-o-3.desy.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750983Ab3JDUiO (ORCPT ); Fri, 4 Oct 2013 16:38:14 -0400 X-Greylist: delayed 580 seconds by postgrey-1.27 at vger.kernel.org; Fri, 04 Oct 2013 16:38:14 EDT Received: from smtp-map-3.desy.de (smtp-map-3.desy.de [131.169.56.68]) by smtp-o-3.desy.de (DESY-O-3) with ESMTP id 955E02809BF for ; Fri, 4 Oct 2013 22:28:32 +0200 (CEST) Received: from ZITSWEEP1.win.desy.de (zitsweep1.win.desy.de [131.169.97.95]) by smtp-map-3.desy.de (DESY_MAP_3) with ESMTP id 89C4F10D2 for ; Fri, 4 Oct 2013 22:28:32 +0200 (MEST) Received: from smtp-intra-3.desy.de (lb-40-26.desy.de) by ZITSWEEP1.win.desy.de (Clearswift SMTPRS 5.4.1) with ESMTP id ; Fri, 4 Oct 2013 22:28:32 +0200 Received: from ani.fritz.box (vpn-053.desy.de [131.169.252.84]) by smtp-intra-3.desy.de (DESY-INTRA-3) with ESMTP id 406CF10D2; Fri, 4 Oct 2013 22:28:32 +0200 (MEST) From: Tigran Mkrtchyan To: bfields@fieldses.org Cc: linux-nfs@vger.kernel.org, Tigran Mkrtchyan Subject: [PATCH] st_destroy_session: remove invalid testcase Date: Fri, 4 Oct 2013 22:28:12 +0200 Message-Id: <1380918492-8413-1-git-send-email-tigran.mkrtchyan@desy.de> X-Mailer: git-send-email 1.8.3.1 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00,HK_RANDOM_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP we cant expect NFS4ERR_NOT_ONLY_OP if spec enforces NFS4ERR_OP_NOT_IN_SESSION Signed-off-by: Tigran Mkrtchyan --- nfs4.1/server41tests/st_destroy_session.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/nfs4.1/server41tests/st_destroy_session.py b/nfs4.1/server41tests/st_destroy_session.py index 1feb671..f4f0762 100644 --- a/nfs4.1/server41tests/st_destroy_session.py +++ b/nfs4.1/server41tests/st_destroy_session.py @@ -164,6 +164,3 @@ def testDestoryNotSoleOps(t, env): sid = sess1.sessionid res = c.c.compound([op.destroy_session(sess1.sessionid), op.putrootfh()]) check(res, NFS4ERR_NOT_ONLY_OP) - - res = c.c.compound([op.putrootfh(), op.destroy_session(sess1.sessionid)]) - check(res, NFS4ERR_NOT_ONLY_OP)