From: Junio C Hamano Date: Sat, 6 Apr 2024 00:23:10 +0000 (-0700) Subject: t0610: local VAR="VAL" fix X-Git-Tag: v2.45.0-rc0~12^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=26ba7477d9815f82ad37c5a5499af2e236cbef25;p=thirdparty%2Fgit.git t0610: local VAR="VAL" fix The series was based on maint and fixes all the tests that exist there, but we have acquired a few more. Signed-off-by: Junio C Hamano --- diff --git a/t/t0610-reftable-basics.sh b/t/t0610-reftable-basics.sh index 686781192e..c8074ebab2 100755 --- a/t/t0610-reftable-basics.sh +++ b/t/t0610-reftable-basics.sh @@ -83,7 +83,7 @@ test_expect_success 'init: reinitializing reftable with files backend fails' ' test_expect_perms () { local perms="$1" local file="$2" - local actual=$(ls -l "$file") && + local actual="$(ls -l "$file")" && case "$actual" in $perms*)