Browse Source

git-p4: adjust test to adhere to stricter useClientSpec

This test relied on what now is seen as broken behavior
in --use-client-spec.  Change it to make sure it works
according to the new behavior as described in
ecb7cf9 (git-p4: rewrite view handling, 2012-01-02) and
c700b68 (git-p4: test client view handling, 2012-01-02).

Signed-off-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Pete Wyckoff 13 years ago committed by Junio C Hamano
parent
commit
2ea09b5ace
  1. 4
      t/t9806-git-p4-options.sh

4
t/t9806-git-p4-options.sh

@ -146,7 +146,7 @@ test_expect_success 'clone --use-client-spec' ' @@ -146,7 +146,7 @@ test_expect_success 'clone --use-client-spec' '
(
cd "$git" &&
test_path_is_file bus/dir/f4 &&
test_path_is_file file1
test_path_is_missing file1
) &&
cleanup_git &&

@ -159,7 +159,7 @@ test_expect_success 'clone --use-client-spec' ' @@ -159,7 +159,7 @@ test_expect_success 'clone --use-client-spec' '
"$GITP4" sync //depot/... &&
git checkout -b master p4/master &&
test_path_is_file bus/dir/f4 &&
test_path_is_file file1
test_path_is_missing file1
)
'


Loading…
Cancel
Save