Code

tests: add missing &&
authorJonathan Nieder <jrnieder@gmail.com>
Sun, 31 Oct 2010 01:46:54 +0000 (20:46 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 9 Nov 2010 19:59:49 +0000 (11:59 -0800)
commita48fcd836971d065b9bf16b8cd046fd1aff9b279
tree34f868252e96a6cf1f7fe02014977f7fbb12d4c3
parent00648ba0505bbe1999bb6ae2f1d02a0ef923b191
tests: add missing &&

Breaks in a test assertion's && chain can potentially hide
failures from earlier commands in the chain.

Commands intended to fail should be marked with !, test_must_fail, or
test_might_fail.  The examples in this patch do not require that.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
84 files changed:
t/annotate-tests.sh
t/t0003-attributes.sh
t/t0024-crlf-archive.sh
t/t0026-eol-config.sh
t/t0050-filesystem.sh
t/t1000-read-tree-m-3way.sh
t/t1001-read-tree-m-2way.sh
t/t1011-read-tree-sparse-checkout.sh
t/t1200-tutorial.sh
t/t1302-repo-version.sh
t/t1401-symbolic-ref.sh
t/t1402-check-ref-format.sh
t/t1410-reflog.sh
t/t1450-fsck.sh
t/t2007-checkout-symlink.sh
t/t2016-checkout-patch.sh
t/t2017-checkout-orphan.sh
t/t2050-git-dir-relative.sh
t/t2101-update-index-reupdate.sh
t/t2200-add-update.sh
t/t3001-ls-files-others-exclude.sh
t/t3030-merge-recursive.sh
t/t3050-subprojects-fetch.sh
t/t3203-branch-output.sh
t/t3300-funny-names.sh
t/t3307-notes-man.sh
t/t3406-rebase-message.sh
t/t3408-rebase-multi-line.sh
t/t3412-rebase-root.sh
t/t3415-rebase-autosquash.sh
t/t3417-rebase-whitespace-fix.sh
t/t3504-cherry-pick-rerere.sh
t/t3902-quoted.sh
t/t3903-stash.sh
t/t3904-stash-patch.sh
t/t4008-diff-break-rewrite.sh
t/t4015-diff-whitespace.sh
t/t4021-format-patch-numbered.sh
t/t4027-diff-submodule.sh
t/t4034-diff-words.sh
t/t4103-apply-binary.sh
t/t4111-apply-subdir.sh
t/t4119-apply-config.sh
t/t4127-apply-same-fn.sh
t/t4130-apply-criss-cross-rename.sh
t/t4133-apply-filenames.sh
t/t4134-apply-submodule.sh
t/t4150-am.sh
t/t4201-shortlog.sh
t/t4202-log.sh
t/t4252-am-options.sh
t/t5300-pack-object.sh
t/t5301-sliding-window.sh
t/t5302-pack-index.sh
t/t5500-fetch-pack.sh
t/t5502-quickfetch.sh
t/t5510-fetch.sh
t/t5514-fetch-multiple.sh
t/t5516-fetch-push.sh
t/t5519-push-alternates.sh
t/t5531-deep-submodule-push.sh
t/t556x_common
t/t6001-rev-list-graft.sh
t/t6009-rev-list-parent.sh
t/t6010-merge-base.sh
t/t6024-recursive-merge.sh
t/t6029-merge-subtree.sh
t/t6030-bisect-porcelain.sh
t/t6036-recursive-corner-cases.sh
t/t6040-tracking-info.sh
t/t6050-replace.sh
t/t7105-reset-patch.sh
t/t7509-commit.sh
t/t7602-merge-octopus-many.sh
t/t7610-mergetool.sh
t/t7810-grep.sh
t/t9104-git-svn-follow-parent.sh
t/t9123-git-svn-rebuild-with-rewriteroot.sh
t/t9124-git-svn-dcommit-auto-props.sh
t/t9151-svn-mergeinfo.sh
t/t9300-fast-import.sh
t/t9350-fast-export.sh
t/t9400-git-cvsserver-server.sh
t/t9401-git-cvsserver-crlf.sh