List for cgit developers and users
 help / color / mirror / Atom feed
* [PATCH] t0109: "function" is a bash-ism
@ 2013-05-09 18:40 john
  2013-05-13 13:17 ` Jason
  0 siblings, 1 reply; 2+ messages in thread
From: john @ 2013-05-09 18:40 UTC (permalink / raw)


We try to stick to POSIX shell in the tests but a "function" keyword has
found its way into t0109.  Remove it.

This makes the tests work with dash again.

Signed-off-by: John Keeping <john at keeping.me.uk>
---
 tests/t0109-gitconfig.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/t0109-gitconfig.sh b/tests/t0109-gitconfig.sh
index 24b2942..ded2938 100755
--- a/tests/t0109-gitconfig.sh
+++ b/tests/t0109-gitconfig.sh
@@ -22,7 +22,7 @@ test_no_home_access () {
 	test_must_fail grep "$non_existant_path" strace.out
 }
 
-function test_no_home_access_success() {
+test_no_home_access_success() {
 	test_expect_success "do not access \$HOME: $1" "
 		test_no_home_access '$1'
 	"
-- 
1.8.3.rc0.149.g98a72f2.dirty





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

* [PATCH] t0109: "function" is a bash-ism
  2013-05-09 18:40 [PATCH] t0109: "function" is a bash-ism john
@ 2013-05-13 13:17 ` Jason
  0 siblings, 0 replies; 2+ messages in thread
From: Jason @ 2013-05-13 13:17 UTC (permalink / raw)


On Thu, May 9, 2013 at 8:40 PM, John Keeping <john at keeping.me.uk> wrote:
>
> We try to stick to POSIX shell in the tests but a "function" keyword has
> found its way into t0109.  Remove it.

Thanks. Merged.


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

end of thread, other threads:[~2013-05-13 13:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-09 18:40 [PATCH] t0109: "function" is a bash-ism john
2013-05-13 13:17 ` Jason

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).