]> git.ipfire.org Git - thirdparty/git.git/commit - t/t9104-git-svn-follow-parent.sh
test: avoid pipes in git related commands for test
authorPratik Karki <predatoramigo@gmail.com>
Tue, 27 Mar 2018 17:31:37 +0000 (23:16 +0545)
committerJunio C Hamano <gitster@pobox.com>
Wed, 28 Mar 2018 16:30:14 +0000 (09:30 -0700)
commita4d4e32a700df92ca576ce89110c075b8ce6da75
tree4f991815ba071fc8849314f248018d1054a7ef99
parentd32eb83c1db7d0a8bb54fe743c6d1dd674d372c5
test: avoid pipes in git related commands for test

Avoid using pipes downstream of Git commands since the exit codes
of commands upstream of pipes get swallowed, thus potentially
hiding failure of those commands. Instead, capture Git command
output to a file and apply the downstream command(s) to that file.

Signed-off-by: Pratik Karki <predatoramigo@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
15 files changed:
t/t5300-pack-object.sh
t/t5510-fetch.sh
t/t7001-mv.sh
t/t7003-filter-branch.sh
t/t9104-git-svn-follow-parent.sh
t/t9108-git-svn-glob.sh
t/t9109-git-svn-multi-glob.sh
t/t9110-git-svn-use-svm-props.sh
t/t9111-git-svn-use-svnsync-props.sh
t/t9114-git-svn-dcommit-merge.sh
t/t9130-git-svn-authors-file.sh
t/t9138-git-svn-authors-prog.sh
t/t9153-git-svn-rewrite-uuid.sh
t/t9168-git-svn-partially-globbed-names.sh
t/t9350-fast-export.sh