git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 4/5] git-p4: adjust test to adhere to stricter useClientSpec

From
PWPete Wyckoff <pw@padd.com>
Date
Jan 11, 2012, 23:31 UTC
Message-ID
<1326324670-15967-5-git-send-email-pw@padd.com>
In-Reply-To
<1326324670-15967-1-git-send-email-pw@padd.com>

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>
---
 t/t9806-git-p4-options.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/t/t9806-git-p4-options.sh b/t/t9806-git-p4-options.sh
index 1f1952a..0571602 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
 	)
 '
 
-- 
1.7.8.1.409.g3e338.dirty
Previous: Pete WyckoffNext: Pete Wyckoff
Message 5 of 6 in “git-p4: view spec review fixes”
  1. 0/5 git-p4: view spec review fixesPete Wyckoff, Jan 11, 2012
  2. 1/5 git-p4: only a single ... wildcard is supportedPete Wyckoff, Jan 11, 2012
  3. 2/5 git-p4: fix verbose comment typoPete Wyckoff, Jan 11, 2012
  4. 3/5 git-p4: clarify commentPete Wyckoff, Jan 11, 2012
  5. 4/5 git-p4: adjust test to adhere to stricter useClientSpecPete Wyckoff, Jan 11, 2012
  6. 5/5 git-p4: add tests demonstrating spec overlay ambiguitiesPete Wyckoff, Jan 11, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.