From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (Postfix) with ESMTP id 5340F8004 for ; Wed, 6 Mar 2013 07:02:55 -0600 (CST) Message-ID: <51373E85.9050408@sgi.com> Date: Wed, 6 Mar 2013 07:03:01 -0600 From: Rich Johnston MIME-Version: 1.0 Subject: Re: [PATCH] xfstests: Fix hang when mkfs.btrfs isn't present References: <512D1E3E.9050907@redhat.com> <513674B2.9030900@sandeen.net> In-Reply-To: <513674B2.9030900@sandeen.net> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: Eric Sandeen Cc: Eric Sandeen , linux-btrfs , Stefan Behrens , xfs-oss This patch has been committed. Thanks --Rich commit 52f4953ac4a377f9f7fc870d2a81f30c3e5d3c7f Author: Eric Sandeen Date: Tue Mar 5 22:41:54 2013 +0000 xfstests: Fix hang when mkfs.btrfs isn't present My earlier patch (xfstests: handle new mkfs.btrfs -f option cleanly) had a flaw in that if set_prog_path mkfs.btrfs returns nothing, the grep will hang. Test for that case to avoid it, and just return the empty string in that case. Reported-by: Rich Johnston Signed-off-by: Eric Sandeen Reviewed-by: Rich Johnston Signed-off-by: Rich Johnston _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs