From: larsxschneider@gmail.com
To: git@vger.kernel.org
Cc: remi.galan-alfonso@ensimag.grenoble-inp.fr,
Lars Schneider <larsxschneider@gmail.com>
Subject: [PATCH v1] t9821: use test_config
Date: Thu, 3 Sep 2015 11:34:47 +0200 [thread overview]
Message-ID: <1441272887-72633-2-git-send-email-larsxschneider@gmail.com> (raw)
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)
next prev parent reply other threads:[~2015-09-03 9:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-03 9:34 [PATCH v1] t9821: use test_config larsxschneider
2015-09-03 9:34 ` larsxschneider [this message]
2015-09-03 13:04 ` Eric Sunshine
2015-09-03 15:13 ` Lars Schneider
2015-09-03 16:52 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1441272887-72633-2-git-send-email-larsxschneider@gmail.com \
--to=larsxschneider@gmail.com \
--cc=git@vger.kernel.org \
--cc=remi.galan-alfonso@ensimag.grenoble-inp.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).