git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Fix sourcing "test-lib.sh" using dash shell in "t3003-ls-files-narrow-match.sh"
@ 2009-01-05 13:30 Christian Couder
  2009-01-06  8:18 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Christian Couder @ 2009-01-05 13:30 UTC (permalink / raw)
  To: Junio C Hamano, Nguyen Thai Ngoc Duy; +Cc: git

dash barfs, on my old Ubuntu box, when "test-lib.sh" is sourced
without "./".

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
---
 t/t3003-ls-files-narrow-match.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

	This patch applies to "pu".

diff --git a/t/t3003-ls-files-narrow-match.sh b/t/t3003-ls-files-narrow-match.sh
index 9879525..b576bca 100755
--- a/t/t3003-ls-files-narrow-match.sh
+++ b/t/t3003-ls-files-narrow-match.sh
@@ -2,7 +2,7 @@
 
 test_description='This test is for narrow spec matching'
 
-. test-lib.sh
+. ./test-lib.sh
 
 D="$(cd ..;pwd)"/t3003
 
-- 
1.6.1.143.gfd590.dirty

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Fix sourcing "test-lib.sh" using dash shell in "t3003-ls-files-narrow-match.sh"
  2009-01-05 13:30 [PATCH] Fix sourcing "test-lib.sh" using dash shell in "t3003-ls-files-narrow-match.sh" Christian Couder
@ 2009-01-06  8:18 ` Junio C Hamano
  2009-01-07  7:29   ` Christian Couder
  0 siblings, 1 reply; 3+ messages in thread
From: Junio C Hamano @ 2009-01-06  8:18 UTC (permalink / raw)
  To: Christian Couder; +Cc: Nguyen Thai Ngoc Duy, git

Christian Couder <chriscool@tuxfamily.org> writes:

> dash barfs, on my old Ubuntu box, when "test-lib.sh" is sourced
> without "./".
>
> Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
> ---
>  t/t3003-ls-files-narrow-match.sh |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> 	This patch applies to "pu".

Thanks; I hope you don't mind squashing this in to 'Introduce "sparse
patterns"'.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Fix sourcing "test-lib.sh" using dash shell in "t3003-ls-files-narrow-match.sh"
  2009-01-06  8:18 ` Junio C Hamano
@ 2009-01-07  7:29   ` Christian Couder
  0 siblings, 0 replies; 3+ messages in thread
From: Christian Couder @ 2009-01-07  7:29 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: Nguyen Thai Ngoc Duy, git

Le mardi 6 janvier 2009, Junio C Hamano a écrit :
> Christian Couder <chriscool@tuxfamily.org> writes:
> > dash barfs, on my old Ubuntu box, when "test-lib.sh" is sourced
> > without "./".
> >
> > Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
> > ---
> >  t/t3003-ls-files-narrow-match.sh |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > 	This patch applies to "pu".
>
> Thanks; I hope you don't mind squashing this in to 'Introduce "sparse
> patterns"'.

No problem.

Thanks,
Christian.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-01-07  7:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-05 13:30 [PATCH] Fix sourcing "test-lib.sh" using dash shell in "t3003-ls-files-narrow-match.sh" Christian Couder
2009-01-06  8:18 ` Junio C Hamano
2009-01-07  7:29   ` Christian Couder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).