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>
John Keeping john@keeping.me.uk
Thu, 09 May 2013 19:40:58 +0100
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
tests/t0109-gitconfig.sh
→
tests/t0109-gitconfig.sh
@@ -22,7 +22,7 @@ -e access -f -o strace.out cgit &&
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' "