mirror of
https://git.zx2c4.com/cgit
synced 2025-08-04 10:04:32 +02:00
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>
This commit is contained in:
parent
72f8991c8a
commit
7966fd9b8e
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue