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

[PATCH v1] t9821: use test_config

From
larsxschneider@gmail.com <larsxschneider@gmail.com>
Date
Sep 3, 2015, 09:34 UTC
Message-ID
<1441272887-72633-2-git-send-email-larsxschneider@gmail.com>
In-Reply-To
<1441272887-72633-1-git-send-email-larsxschneider@gmail.com>
From: Lars Schneider <larsxschneider@gmail.com>
Signed-off-by: Lars Schneider <larsxschneider@gmail.com>
---
 t/t9821-git-p4-path-variations.sh | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/t/t9821-git-p4-path-variations.sh b/t/t9821-git-p4-path-variations.sh
index 81e46ac..5a26fec 100755
--- a/t/t9821-git-p4-path-variations.sh
+++ b/t/t9821-git-p4-path-variations.sh
@@ -45,7 +45,7 @@ test_expect_success 'Clone root' '
 	(
 		cd "$git" &&
 		git init . &&
-		git config core.ignorecase false &&
+		test_config core.ignorecase false &&
 		git p4 clone --use-client-spec --destination="$git" //depot &&
 		# This method is used instead of "test -f" to ensure the case is
 		# checked even if the test is executed on case-insensitive file systems.
@@ -67,7 +67,7 @@ test_expect_success 'Clone root (ignorecase)' '
 	(
 		cd "$git" &&
 		git init . &&
-		git config core.ignorecase true &&
+		test_config core.ignorecase true &&
 		git p4 clone --use-client-spec --destination="$git" //depot &&
 		# This method is used instead of "test -f" to ensure the case is
 		# checked even if the test is executed on case-insensitive file systems.
@@ -91,7 +91,7 @@ test_expect_success 'Clone root and ignore one file' '
 	(
 		cd "$git" &&
 		git init . &&
-		git config core.ignorecase false &&
+		test_config core.ignorecase false &&
 		git p4 clone --use-client-spec --destination="$git" //depot &&
 		# We ignore one file in the client spec and all path cases change from
 		# "TO" to "to"!
@@ -113,7 +113,7 @@ test_expect_success 'Clone root and ignore one file (ignorecase)' '
 	(
 		cd "$git" &&
 		git init . &&
-		git config core.ignorecase true &&
+		test_config core.ignorecase true &&
 		git p4 clone --use-client-spec --destination="$git" //depot &&
 		# We ignore one file in the client spec and all path cases change from
 		# "TO" to "to"!
@@ -133,7 +133,7 @@ test_expect_success 'Clone path' '
 	(
 		cd "$git" &&
 		git init . &&
-		git config core.ignorecase false &&
+		test_config core.ignorecase false &&
 		git p4 clone --use-client-spec --destination="$git" //depot &&
 		cat >expect <<-\EOF &&
 		to/File2.txt
@@ -149,7 +149,7 @@ test_expect_success 'Clone path (ignorecase)' '
 	(
 		cd "$git" &&
 		git init . &&
-		git config core.ignorecase true &&
+		test_config core.ignorecase true &&
 		git p4 clone --use-client-spec --destination="$git" //depot &&
 		cat >expect <<-\EOF &&
 		TO/File2.txt
@@ -180,7 +180,7 @@ test_expect_success 'Add a new file and clone path with new file (ignorecase)' '
 	(
 		cd "$git" &&
 		git init . &&
-		git config core.ignorecase true &&
+		test_config core.ignorecase true &&
 		git p4 clone --use-client-spec --destination="$git" //depot &&
 		cat >expect <<-\EOF &&
 		to/File0.txt
--
1.9.5 (Apple Git-50.3)
Previous: larsxschneider@gmail.comNext: Eric Sunshine
Message 2 of 5 in “t9821: use test_config”
  1. t9821: use test_configlarsxschneider@gmail.com, Sep 3, 2015
  2. t9821: use test_configlarsxschneider@gmail.com, Sep 3, 2015
  3. Eric SunshineSep 3, 2015
  4. Lars SchneiderSep 3, 2015
  5. Junio C HamanoSep 3, 2015

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.