Make sure that git_getpass() never returns NULL
[git/mingw/4msysgit.git] / t / t5531-deep-submodule-push.sh
blob65d8d474bcc6aa5ab4a1c659e228ac2e61d71e04
1 #!/bin/sh
3 test_description='unpack-objects'
5 . ./test-lib.sh
7 test_expect_success setup '
8 mkdir pub.git &&
9 GIT_DIR=pub.git git init --bare
10 GIT_DIR=pub.git git config receive.fsckobjects true &&
11 mkdir work &&
13 cd work &&
14 git init &&
15 mkdir -p gar/bage &&
17 cd gar/bage &&
18 git init &&
19 >junk &&
20 git add junk &&
21 git commit -m "Initial junk"
22 ) &&
23 git add gar/bage &&
24 git commit -m "Initial superproject"
28 test_expect_success push '
30 cd work &&
31 git push ../pub.git master
35 test_done