git p4 test: use client_view in t9806
commit50038ba92a22743be8c105e16fb559a6d96c3a7a
authorPete Wyckoff <pw@padd.com>
Sun, 27 Jan 2013 03:11:09 +0000 (26 22:11 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sun, 27 Jan 2013 06:00:38 +0000 (26 22:00 -0800)
tree3c50888c8c7b3f666ec7c703816b8409dbd530e5
parent6112541b444b52d5ac83f491eabefbf571da4997
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>
t/lib-git-p4.sh
t/t9806-git-p4-options.sh