sed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tests: test -i/--inplace with backup suffix option


From: Jim Meyering
Subject: Re: tests: test -i/--inplace with backup suffix option
Date: Sat, 28 May 2016 20:53:44 -0700

On Sat, May 28, 2016 at 5:34 PM, Jim Meyering <address@hidden> wrote:
> Hi Assaf,
>
> Thank you for all of those new tests.
> When I run the test mentioned above, it fails on OS X (with tty from
> gnu coreutils) like this:
>
> + compare_ exp-err-not-reg-file err-not-reg-file
> + diff -u exp-err-not-reg-file err-not-reg-file
> + cat
> + ttydev=
> + which tty
...

Also, note how this test uses "which".
Please use the bourne-shell built-in "type" instead, e.g.,

  type tty > /dev/null 2>&1 &&



reply via email to

[Prev in Thread] Current Thread [Next in Thread]