Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Wyckoff <pw@padd.com>2013-01-27 07:11:09 +0400
committerJunio C Hamano <gitster@pobox.com>2013-01-27 10:00:38 +0400
commit50038ba92a22743be8c105e16fb559a6d96c3a7a (patch)
tree3c50888c8c7b3f666ec7c703816b8409dbd530e5 /t/lib-git-p4.sh
parent6112541b444b52d5ac83f491eabefbf571da4997 (diff)
git p4 test: use client_view in t9806
Use the standard client_view function from lib-git-p4.sh instead of building one by hand. This requires a bit of rework, using the current value of $P4CLIENT for the client name. It also reorganizes the test to isolate changes to $P4CLIENT and $cli in a subshell. Signed-off-by: Pete Wyckoff <pw@padd.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-git-p4.sh')
-rw-r--r--t/lib-git-p4.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/lib-git-p4.sh b/t/lib-git-p4.sh
index b1dbded3e8..c5d1f4d27a 100644
--- a/t/lib-git-p4.sh
+++ b/t/lib-git-p4.sh
@@ -116,8 +116,8 @@ marshal_dump() {
client_view() {
(
cat <<-EOF &&
- Client: client
- Description: client
+ Client: $P4CLIENT
+ Description: $P4CLIENT
Root: $cli
View:
EOF