[PATCH 0/4] workaround some Solaris sed issues
- From
Brandon Casey <casey@nrlssc.navy.mil>
- Date
- May 6, 2009, 18:29 UTC
- Message-ID
- <IHOAO7NDkb8K9nkprnkd2cQW6duDZ3aYmQzpqboBi5HibQoO83nGG2Z4562gIb22HVW3ho6Z250@cipher.nrlssc.navy.mil>
- In-Reply-To
- <-ElxRhvpfY_jx1Ps8nJ42rHdrKbR03T1y96WpGK19gM@cipher.nrlssc.navy.mil>
Here are 4 patches that I have been using to work around the issue that sed on Solaris exits non-zero if it's input is not newline terminated.
The first two patches are signed-off-on and I think can be applied to git.git.
The last two are kludges which Junio may not want to apply and maybe someone has a better work around for.
Brandon Casey (4):
t4118: add missing '&&'
t4118: avoid sed invocation on file without terminating newline
t/annotate-tests.sh: avoid passing a non-newline terminated file to
sed
t4200: avoid passing a non-newline terminated file to sedt/annotate-tests.sh | 5 ++++- t/t4118-apply-empty-context.sh | 4 ++-- t/t4200-rerere.sh | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-)