From patchwork Mon May 21 16:06:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Darrick J. Wong" X-Patchwork-Id: 10415865 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 581566053B for ; Mon, 21 May 2018 16:06:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 44D45288D7 for ; Mon, 21 May 2018 16:06:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3836B288E0; Mon, 21 May 2018 16:06:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BF85A288D7 for ; Mon, 21 May 2018 16:06:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752148AbeEUQGw (ORCPT ); Mon, 21 May 2018 12:06:52 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:54422 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751682AbeEUQGv (ORCPT ); Mon, 21 May 2018 12:06:51 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w4LG6IVS129592; Mon, 21 May 2018 16:06:50 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : mime-version : content-type; s=corp-2017-10-26; bh=hY6HnSM1d5aBUzCPvz35hxCb55y06M812aXwhNtBNSc=; b=m3uwx4d3q13MVwPUxgAlDqOtqL7VGWpjM/siQHzjuRb5oe3L3q62kRqR01rNgn9bIqPd KlAQoih1Xz/h8LkCyD3gXUhLpCUUGu9g4ZTuT+JvJIyYeQcvRbiDL0xWMaaYeMzft/7R ok3Dx+yxmAwFSjvl52RwYe9t4qNSGmXZcLLYiUlqm8njmmQBncFw6jSWUsyx12tZg0MR rMXKxv8yBbC2lfe+NMm8p5T8Td4fjhJtmoJHfsS/49FlhNUtfrbS0G2PsPZ092xCQbK5 hvCe5kuE4lMK/kRv7iQkFBPRIUzn7L6BKsYjMg9vKwpEQ0++xH/1icabGJ2vfIEZVxYX 2g== Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp2130.oracle.com with ESMTP id 2j2bcdcxst-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 21 May 2018 16:06:50 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w4LG6nXJ021467 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 21 May 2018 16:06:50 GMT Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w4LG6nbd031177; Mon, 21 May 2018 16:06:49 GMT Received: from localhost (/67.169.218.210) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 21 May 2018 09:06:49 -0700 Date: Mon, 21 May 2018 09:06:48 -0700 From: "Darrick J. Wong" To: Eryu Guan Cc: fstests Subject: [PATCH] xfs/132: unmount scratch fs after test Message-ID: <20180521160648.GI4910@magnolia> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8900 signatures=668700 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1805210192 Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Darrick J. Wong If this test runs successfully, it'll leave a shutdown scratch fs behind. The test framework doesn't unmount the fs for us (because we told it not to check the fs) so the test framework tries to "test -d $SCRATCH_MNT" and blows up on the IO error it receives from the dead fs. Signed-off-by: Darrick J. Wong --- tests/xfs/132 | 1 + 1 file changed, 1 insertion(+) -- To unsubscribe from this list: send the line "unsubscribe fstests" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/tests/xfs/132 b/tests/xfs/132 index 6bb03e79..3fa695a7 100755 --- a/tests/xfs/132 +++ b/tests/xfs/132 @@ -67,6 +67,7 @@ _scratch_mount # The corrupt inode should be tripped over during these initial file creates. touch $SCRATCH_MNT/file{0,1,2,3,4,5}{0,1,2,3,4,5} 2>&1 | _filter_scratch +_scratch_unmount # success, all done status=0