[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM9d7cgY6t7_XB+SryQft_BA0zbtcKN1ZrfQ-qONtb-SkB89Jw@mail.gmail.com>
Date:	Wed, 10 Dec 2014 17:19:36 +0900
From:	Namhyung Kim <namhyung@...nel.org>
To:	Michael Ellerman <mpe@...erman.id.au>
Cc:	Steven Rostedt <rostedt@...dmis.org>,
	Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] ftracetest: Replace usleep with sleep 0.000001
Hi Michael,
On Wed, Dec 10, 2014 at 1:38 PM, Michael Ellerman <mpe@...erman.id.au> 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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists
 
