t4014: do not uese echo -n
PATCH 3/4 t4014: do not uese echo -n
echo -n is not portable on all systems.
Use printf instead
Signed-off-by Torsten Bögershausen <[email protected]>
--- t/t4014-format-patch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
t/t4014-format-patch.sh +1 -1
@@ -993,7 +993,7 @@ EOF ' test_expect_success 'signoff: commit with only subject that does not end with NL' ' - echo -n subject | append_signoff >actual && + printf subject | append_signoff >actual && cat >expected <<\EOF && 4:Subject: [PATCH] subject 8:
Signature · 1 line
1.8.0.197.g5a90748
Quoted 5 lines · Torsten Bögershausen
echo -n is not portable on all systems.
Use printf insteadSigned-off-by Torsten Bögershausen <[email protected]>---
Brandon, this comes from 932581b (Unify appending signoff in format-patch, commit and sequencer, 2012-11-25). Please make sure to squash it in when you reroll the series.
Thanks (and a happy new year ;-).
Quoted 16 lines
t/t4014-format-patch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)t/t4014-format-patch.sh +1
-1@@ -993,7 +993,7 @@ EOF ' test_expect_success 'signoff: commit with only subject that does not end with NL' ' - echo -n subject | append_signoff >actual && + printf subject | append_signoff >actual && cat >expected <<\EOF && 4:Subject: [PATCH] subject 8:
Quoted 11 lines · Junio C Hamano
Quoted 5 lines · Torsten Bögershausen
echo -n is not portable on all systems.
Use printf insteadSigned-off-by Torsten Bögershausen <[email protected]>---
Brandon, this comes from 932581b (Unify appending signoff in format-patch, commit and sequencer, 2012-11-25). Please make sure to squash it in when you reroll the series.
Will do.
Quoted 1 line
Thanks (and a happy new year ;-).
Thanks. Happy New Year to you too. :)
-Brandon