summaryrefslogtreecommitdiff
path: root/t/t9809-git-p4-client-view.sh
diff options
context:
space:
mode:
authorPete Wyckoff <pw@padd.com>2012-08-11 16:55:00 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-08-12 04:42:12 (GMT)
commitd2018293ca604544a79cd9390953ef0272a65078 (patch)
tree1600da3fd625608875fd50c1b069c10855dff265 /t/t9809-git-p4-client-view.sh
parent61b472ed8b090a3e9240590c85041120a54dd268 (diff)
downloadgit-d2018293ca604544a79cd9390953ef0272a65078.zip
git-d2018293ca604544a79cd9390953ef0272a65078.tar.gz
git-d2018293ca604544a79cd9390953ef0272a65078.tar.bz2
git p4 test: move client_view() function to library
This code will be useful in --detect-branches --use-client-spec tests. Signed-off-by: Pete Wyckoff <pw@padd.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9809-git-p4-client-view.sh')
-rwxr-xr-xt/t9809-git-p4-client-view.sh17
1 files changed, 0 insertions, 17 deletions
diff --git a/t/t9809-git-p4-client-view.sh b/t/t9809-git-p4-client-view.sh
index 7d993ef..281be29 100755
--- a/t/t9809-git-p4-client-view.sh
+++ b/t/t9809-git-p4-client-view.sh
@@ -9,23 +9,6 @@ test_expect_success 'start p4d' '
'
#
-# Construct a client with this list of View lines
-#
-client_view() {
- (
- cat <<-EOF &&
- Client: client
- Description: client
- Root: $cli
- View:
- EOF
- for arg ; do
- printf "\t$arg\n"
- done
- ) | p4 client -i
-}
-
-#
# Verify these files exist, exactly. Caller creates
# a list of files in file "files".
#