Messages in this thread | | | From | Namhyung Kim <> | Date | Wed, 10 Dec 2014 17:19:36 +0900 | Subject | Re: [PATCH] ftracetest: Replace usleep with sleep 0.000001 |
| |
Hi Michael,
On Wed, Dec 10, 2014 at 1:38 PM, Michael Ellerman <mpe@ellerman.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
| |