3 # Copyright (c) 2007 Johannes Schindelin
6 test_description
='Test shared repository initialization'
10 test_expect_success
'shared=all' '
13 git init --shared=all &&
14 test 2 = $(git config core.sharedrepository)
17 say
"update-server-info not supported - skipping tests"
21 test_expect_success
'update-server-info honors core.sharedRepository' '
27 git update-server-info &&
28 actual="$(ls -l .git/info/refs)" &&
34 echo Oops, .git/info/refs is not 0444