]>
git.ipfire.org Git - thirdparty/git.git/blob - t/t9806-git-p4-options.sh
7e2e45af17af061767b9218b93d8a4f475a93fe2
3 test_description
='git-p4 options'
7 test_expect_success
'start p4d' '
11 test_expect_success
'init depot' '
16 p4 submit -d "change 1" &&
19 p4 submit -d "change 2" &&
22 p4 submit -d "change 3"
26 test_expect_success
'clone no --git-dir' '
27 test_must_fail "$GITP4" clone --git-dir=xx //depot
30 test_expect_success
'clone --branch' '
31 "$GITP4" clone --branch=refs/remotes/p4/sb --dest="$git" //depot &&
32 test_when_finished cleanup_git &&
35 git ls-files >files &&
36 test_line_count = 0 files &&
37 test_path_is_file .git/refs/remotes/p4/sb
41 test_expect_success
'kill p4d' '