Re: [PATCH] t4027, t4041: Use printf instead of echo -n
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Jun 24, 2010, 19:34 UTC
- Message-ID
- <201006242134.54081.j6t@kdbg.org>
- In-Reply-To
- <1277401578-20984-1-git-send-email-brian@gernhardtsoftware.com>
On Donnerstag, 24. Juni 2010, Brian Gernhardt wrote:
> BSD's echo doesn't recognize the -n option, so use printf instead
...
> - echo -n "" | test_cmp - actual2 && > + printf "" | test_cmp - actual2 &&
Shouldn't you replace these by
! test -s actual2 &&
-- Hannes