Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754810AbaLJIT6 (ORCPT ); Wed, 10 Dec 2014 03:19:58 -0500 Received: from mail-ob0-f175.google.com ([209.85.214.175]:58265 "EHLO mail-ob0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754357AbaLJIT5 (ORCPT ); Wed, 10 Dec 2014 03:19:57 -0500 MIME-Version: 1.0 In-Reply-To: <1418186307-1259-1-git-send-email-mpe@ellerman.id.au> References: <1418186307-1259-1-git-send-email-mpe@ellerman.id.au> From: Namhyung Kim Date: Wed, 10 Dec 2014 17:19:36 +0900 X-Google-Sender-Auth: GAKrQ7sM84OOiSYChj0ctm--0lQ Message-ID: Subject: Re: [PATCH] ftracetest: Replace usleep with sleep 0.000001 To: Michael Ellerman Cc: Steven Rostedt , Masami Hiramatsu , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Michael, On Wed, Dec 10, 2014 at 1:38 PM, Michael Ellerman wrote: > usleep is a Fedoraism, it's not generally available on Debian based > systems AFAICS. > > GNU sleep accepts a floating point argument, so use that instead. I tested it on busybox not Debian, sorry. But it seems busybox's sleep doesn't support floating point argument.. / # ls -l `which sleep` lrwxrwxrwx 1 root rooot 7 May 22 2014 /bin/sleep -> busybox / # sleep 0.1 sleep: invalid number '0.1' Thanks, Namhyung -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/