neocgit

a more 'modern' version of cgit
Log | Files | Refs | Submodules | README | LICENSE | git clone https://git.ne02ptzero.me/git/neocgit

commit 7966fd9b8e32562196b52abd32f6ba1e15228b81
parent 72f8991c8a5aef2d37192429a0365dee838d12ed
Author: John Keeping <john@keeping.me.uk>
Date:   Thu,  9 May 2013 19:40:58 +0100

t0109: "function" is a bash-ism

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@keeping.me.uk>

Diffstat:
Mtests/t0109-gitconfig.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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' "