Re: [RFC/PATCH 3/4v2] test-lib: provide lazy TIME_COMMAND prereq

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [RFC/PATCH 3/4v2] test-lib: provide lazy TIME_COMMAND prereq

From: Andreas Schwab <hidden>
Date: 2016-06-15 22:55:02

Michael J Gruber [off-list ref] writes:
Some test want to use the time command (not the shell builtin) and test
for its availability at /usr/bin/time.
An alternative way to suppress the builtin meaning is to quote it, like
\time.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

Re: [RFC/PATCH 3/4v2] test-lib: provide lazy TIME_COMMAND prereq

From: Stefano Lattarini <hidden>
Date: 2016-06-15 22:55:03

Hi Andreas.  I hope you don't mind my nitpickiness, but ...

On 10/16/2012 06:28 PM, Andreas Schwab wrote:
Michael J Gruber [off-list ref] writes:
quoted
Some test want to use the time command (not the shell builtin) and test
for its availability at /usr/bin/time.
An alternative way to suppress the builtin meaning is to quote it, like
\time.
... to be 100% precise, this quoting trick works because 'time' is a
shell keyword, rather than a builtin:

    $ type time
    time is a shell keyword

Regards,
  Stefano
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help