From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 6E6911DB8; Mon, 21 May 2018 14:30:53 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id B49BB22288; Mon, 21 May 2018 08:30:52 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 21 May 2018 08:30:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=sQQ/8W69Leyg7kAsaDc7/sUayH O7pKR9605U21s1neA=; b=F4PfUxH9+UpaqJh3F0fyruTmXcr9C/oE80B8dlduW/ 36N+2lCbUsH6p56Yq9x+nbQugdq/S7k0n2W40Seak2AdggNgadoUsySUmfNzTGQb GuWKRw0IyLjApSPoKjJsjUrGDN0fRvFPC4Cj/Lfai+DBt8vssi/w5xyuJPHC0nMP U= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=sQQ/8W 69Leyg7kAsaDc7/sUayHO7pKR9605U21s1neA=; b=J/e2tJIGyf+w0yEEkv0Tby WVwxBvgh5x2sAhaRlhMacf0+jJfL8yWgv5Sa6wJ4T3DH/KrIkBtD9N/r5oOCvRbB FlWM1LQ4KhZA8QR8rCmQ6/SuGW5iS2JU65tji7hWN0+s/OEPP4JoddL3pN33Cmzd IrWM+JWXV1lkgsPZoESCvBAK7toal9EJF72qKgX1BNH1aiYby6GwSlKIEbnejXf+ XPjUd1KXYXhHwuonCmGwj0zj4WlPBEUWARWIDZYXgQuCeWR8bHg5KRcL4bjXLvAf 0mxX7CndMVWgbF6DolPUeeR2BdXQ9Diufy1UbbMg5SzzDUc24YIFejqsO2Fk7R6Q == X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Sender: Received: from xps.localnet (236.204.154.77.rev.sfr.net [77.154.204.236]) by mail.messagingengine.com (Postfix) with ESMTPA id 4EF8BE46C1; Mon, 21 May 2018 08:30:51 -0400 (EDT) From: Thomas Monjalon To: Radu Nicolau Cc: dev@dpdk.org, ferruh.yigit@intel.com, stable@dpdk.org Date: Mon, 21 May 2018 14:30:47 +0200 Message-ID: <5146448.Vdf9GQnNb8@xps> In-Reply-To: <1526902547-12710-1-git-send-email-radu.nicolau@intel.com> References: <1526902547-12710-1-git-send-email-radu.nicolau@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [PATCH] test: fix hang on FreeBSD X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 May 2018 12:30:53 -0000 21/05/2018 13:35, Radu Nicolau: > Fixes: af75078fece3 ("first public release") > Cc: stable@dpdk.org > > Signed-off-by: Radu Nicolau > --- > @@ -34,7 +34,8 @@ test_panic(void) > printf("Fork Failed\n"); > return -1; > } > - wait(&status); > + sleep(1); > + waitpid(pid, &status, WNOHANG); Please give an explanation why you are adding this sleep.