From: Pete Wyckoff Date: Wed, 11 Jan 2012 23:31:09 +0000 (-0500) Subject: git-p4: adjust test to adhere to stricter useClientSpec X-Git-Tag: v1.7.10-rc0~144^2~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2ea09b5ace46bf8292afe9c2b83b4a6580218bdf;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/t/t9806-git-p4-options.sh b/t/t9806-git-p4-options.sh index 1f1952a65..057160212 100755 --- a/t/t9806-git-p4-options.sh +++ b/t/t9806-git-p4-options.sh @@ -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' ' "$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 ) '