t/t9814-git-p4-rename.sh: avoid "test <cond> -a/-o <cond>"
commit795fcb0e5eafacdb038652f538af922e956cf5fe
authorElia Pinto <gitter.spiros@gmail.com>
Fri, 6 Jun 2014 14:56:01 +0000 (6 07:56 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Jun 2014 22:53:41 +0000 (9 15:53 -0700)
treeaaca437bf2bd43f76cfec5fe8a902d1ce9286adf
parent754b574cf937a04bc0052395c2e6066d427e2798
t/t9814-git-p4-rename.sh: avoid "test <cond> -a/-o <cond>"

The construct is error-prone; "test" being built-in in most modern
shells, the reason to avoid "test <cond> && test <cond>" spawning
one extra process by using a single "test <cond> -a <cond>" no
longer exists.

Signed-off-by: Elia Pinto <gitter.spiros@gmail.com>
Reviewed-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9814-git-p4-rename.sh