Re: What's cooking in git.git (Aug 2009, #05; Wed, 26)
- From
- Brandon Casey <brandon.casey.ctr@nrlssc.navy.mil>
- Date
- Aug 27, 2009, 16:41 UTC
- Message-ID
- <SW-k_fUnLrE0kFNXSIYgMIc-pexuL5ykWs1ZdvHAo9_LMxe9ggJtCA@cipher.nrlssc.navy.mil>
- In-Reply-To
- <7vfxbeb0mt.fsf@alter.siamese.dyndns.org>
Junio C Hamano wrote:
Show 7 quoted lines
> [Stalled] > > * je/send-email-no-subject (2009-08-05) 1 commit > - send-email: confirm on empty mail subjects > > This seems to break t9001. Near the tip of 'pu' I have a iffy > workaround.
Can you squash this into your 'iffy' workaround to help platforms (Solaris 7, IRIX 6.5) without the 'yes' utility?
--- t/t9001-send-email.sh | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/t/t9001-send-email.sh b/t/t9001-send-email.sh index 960d7d8..641d0c3 100755 --- a/t/t9001-send-email.sh +++ b/t/t9001-send-email.sh @@ -505,6 +505,14 @@ test_expect_success '--suppress-cc=cc' ' test_suppression cc ' +yes () { + test -n "$*" && y="$*" || y='y' + while echo "$y" + do + : + done +} + test_confirm () { yes | \ GIT_SEND_EMAIL_NOTTY=1 \
-- 1.6.4