Browse Source

git p4 test: use client_view to build the initial client

Simplify the code a bit by using an existing function.

Signed-off-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Pete Wyckoff 12 years ago committed by Junio C Hamano
parent
commit
daa38f4ae0
  1. 11
      t/lib-git-p4.sh

11
t/lib-git-p4.sh

@ -74,15 +74,8 @@ start_p4d() { @@ -74,15 +74,8 @@ start_p4d() {
fi

# build a client
(
cd "$cli" &&
p4 client -i <<-EOF
Client: client
Description: client
Root: $cli
View: //depot/... //client/...
EOF
)
client_view "//depot/... //client/..." &&

return 0
}


Loading…
Cancel
Save