diff options
author | John Keeping | 2013-05-09 19:40:58 +0100 |
---|---|---|
committer | Jason A. Donenfeld | 2013-05-13 15:16:48 +0200 |
commit | 7966fd9b8e32562196b52abd32f6ba1e15228b81 (patch) | |
tree | 687fb76c721ec9246b85c95b4407953f9d6db1e4 /tests | |
parent | 72f8991c8a5aef2d37192429a0365dee838d12ed (diff) | |
download | cgit-7966fd9b8e32562196b52abd32f6ba1e15228b81.tar.gz cgit-7966fd9b8e32562196b52abd32f6ba1e15228b81.tar.bz2 cgit-7966fd9b8e32562196b52abd32f6ba1e15228b81.zip |
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 (limited to 'tests')
-rwxr-xr-x | tests/t0109-gitconfig.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/t0109-gitconfig.sh b/tests/t0109-gitconfig.sh index c9d16a2..5a84258 100755 --- a/tests/t0109-gitconfig.sh +++ b/tests/t0109-gitconfig.sh | |||
@@ -22,7 +22,7 @@ test_no_home_access () { | |||
22 | test_must_fail grep "$non_existant_path" strace.out | 22 | test_must_fail grep "$non_existant_path" strace.out |
23 | } | 23 | } |
24 | 24 | ||
25 | function test_no_home_access_success() { | 25 | test_no_home_access_success() { |
26 | test_expect_success "do not access \$HOME: $1" " | 26 | test_expect_success "do not access \$HOME: $1" " |
27 | test_no_home_access '$1' | 27 | test_no_home_access '$1' |
28 | " | 28 | " |