compat/pread.c: Add a forward declaration to fix a warning
[git/jrn.git] / t / t5601-clone.sh
blob593d1a38772843f1afd67814dcf8920bea3366bc
1 #!/bin/sh
3 test_description=clone
5 . ./test-lib.sh
7 test_expect_success setup '
9 rm -fr .git &&
10 test_create_repo src &&
12 cd src
13 >file
14 git add file
15 git commit -m initial
20 test_expect_success 'clone with excess parameters' '
22 test_must_fail git clone -n "file://$(pwd)/src" dst junk
26 test_expect_success 'clone checks out files' '
28 git clone src dst &&
29 test -f dst/file
33 test_done