From patchwork Fri Jun 23 16:12:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Sandeen X-Patchwork-Id: 9806823 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 C299060329 for ; Fri, 23 Jun 2017 16:12:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B3364286F4 for ; Fri, 23 Jun 2017 16:12:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A7F0C287A0; Fri, 23 Jun 2017 16:12:46 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI 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 2F146286F4 for ; Fri, 23 Jun 2017 16:12:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754225AbdFWQMp (ORCPT ); Fri, 23 Jun 2017 12:12:45 -0400 Received: from sandeen.net ([63.231.237.45]:53564 "EHLO sandeen.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753862AbdFWQMp (ORCPT ); Fri, 23 Jun 2017 12:12:45 -0400 Received: from Liberator-5.local (unknown [172.56.12.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by sandeen.net (Postfix) with ESMTPSA id BB159612256; Fri, 23 Jun 2017 11:12:40 -0500 (CDT) Subject: [PATCH] generic/401: Test mountpoint not subdir for filetype support To: Eric Sandeen , fstests References: <8b64d345-4dbd-cf14-bf57-58b67c8115cd@redhat.com> From: Eric Sandeen Message-ID: <63bb7dca-e407-abea-e432-2e946a8fd435@sandeen.net> Date: Fri, 23 Jun 2017 11:12:41 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <8b64d345-4dbd-cf14-bf57-58b67c8115cd@redhat.com> Content-Language: en-US Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP With pending changes for xfs_info/xfs_growfs, the tool now requires an actual mount point to work properly. Change this test to test $SCRATCH_MNT not the subdir beneath it. Signed-off-by: Eric Sandeen Reviewed-by: Bill O'Donnell --- Sorry, forgot [PATCH], adding to make sure Eryu sees it. -- 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/generic/401 b/tests/generic/401 index 04bd1a5..74f2bea 100755 --- a/tests/generic/401 +++ b/tests/generic/401 @@ -79,7 +79,7 @@ mknod $testdir/p p src/t_dir_type $testdir d | grep -F '.' | sort # Test that either all file types are unknown or all are correct -if _supports_filetype $testdir; then +if _supports_filetype $SCRATCH_MNT; then # print real file types src/t_dir_type $testdir | grep -vF '.' | sort else