From patchwork Fri Mar 31 16:27:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 9656691 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 A85B860349 for ; Fri, 31 Mar 2017 16:27:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 98E7F24DA2 for ; Fri, 31 Mar 2017 16:27:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8DAE227D0E; Fri, 31 Mar 2017 16:27:26 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 28E8024DA2 for ; Fri, 31 Mar 2017 16:27:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933199AbdCaQ1Z (ORCPT ); Fri, 31 Mar 2017 12:27:25 -0400 Received: from bombadil.infradead.org ([65.50.211.133]:36160 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933106AbdCaQ1Z (ORCPT ); Fri, 31 Mar 2017 12:27:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=G0211H5O0eXgKi8I2oHJx4WUTNIVMVby8tcm+zHe5d8=; b=B2quYs5w8j6HkZYb4XANPmUIp IthlNIoholz2SecQKosEbdz9bYRg3SeX05n9rxijVIPe5ENmGcUd5CeBlXqh8TnGiOJMXIphgUvuJ 6D5KyVXDWXoVlclmc45JsEHLN/7S5nkPM5OG204PKXyfCWVFZcXUKVEAnaWABsuoRijeZxXrW/e95 Wb+rmOmFV9ShkgdxPhwEbD9MVqwedFhEW5qsKA1ON9jeegvc4fmDqGdyQEgr0PEYewA9Yv7tCMOMC UxcbzCzwRaxSmRnCSTbkzOw9O/qaKJ/iFhMVStIl2Ut4xeQ65xHwTmoR0ELpFkxf8tM4qkB0IyvX4 0iz5nErDA==; Received: from hch by bombadil.infradead.org with local (Exim 4.87 #1 (Red Hat Linux)) id 1ctzOV-0002Hn-Ay; Fri, 31 Mar 2017 16:27:23 +0000 Date: Fri, 31 Mar 2017 09:27:23 -0700 From: Christoph Hellwig To: David Howells Cc: linux-xfs@vger.kernel.org, hch@infradead.org, amir73il@gmail.com, david@fromorbit.com, fstests@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH 1/2] xfstests: Add first statx test Message-ID: <20170331162723.GA1693@infradead.org> References: <149097291264.20089.7010494679305716312.stgit@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <149097291264.20089.7010494679305716312.stgit@warthog.procyon.org.uk> User-Agent: Mutt/1.7.1 (2016-10-04) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-xfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This only compiles with warnings for me: stat_test.c: In function 'main': stat_test.c:557:3: warning: 'sval' may be used uninitialized in this function [-Wmaybe-uninitialized] check(sval == scheck, ^ stat_test.c:451:20: note: 'sval' was declared here long long scheck, sval; ^ stat_test.c:542:3: warning: 'uval' may be used uninitialized in this function [-Wmaybe-uninitialized] check(uval == ucheck, ^ stat_test.c:450:29: note: 'uval' was declared here unsigned long long ucheck, uval; ^ And running it then fails for me on Debian stable: --- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- tests/generic/420.out 2017-03-31 16:24:11.643845876 +0000 +++ /root/xfstests/results//generic/420.out.bad 2017-03-31 16:26:23.820512545 +0000 @@ -8,4 +8,10 @@ 20+0 records out Test statx on a symlink Test statx on an AF_UNIX socket +nc: invalid option -- 'U' +/bin/nc: invalid option -- 'U' +nc -h for helpnc -h for help + +/mnt/test/420-sock: No such file or directory Test a hard link to a file +/mnt/test/420-sock: No such file or directory