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 test_expect_success
'update-server-info honors core.sharedRepository' '
23 git update-server-info &&
24 actual="$(ls -l .git/info/refs)" &&
30 echo Oops, .git/info/refs is not 0444