t/test-lib-functions.sh: avoid "test <cond> -a/-o <cond>"
authorElia Pinto <redacted>
Fri, 6 Jun 2014 14:56:02 +0000 (07:56 -0700)
committerJunio C Hamano <redacted>
Mon, 9 Jun 2014 22:53:42 +0000 (15:53 -0700)
commit0cfe6fd252ee0898d832823bdab66d3cc986f3df
tree8f5e5e8da4f814fc7a3be751d87a006e138f0050
parent795fcb0e5eafacdb038652f538af922e956cf5fe
t/test-lib-functions.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 <redacted>
Reviewed-by: Matthieu Moy <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/test-lib-functions.sh
git clone https://git.99rst.org/PROJECT