t1450: use egrep for regexp "alternation"
commit73fc2aadc748da8a5515345ab02657e4db7f66d4
authorJunio C Hamano <gitster@pobox.com>
Wed, 28 Jun 2017 17:17:04 +0000 (28 10:17 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 28 Jun 2017 17:17:50 +0000 (28 10:17 -0700)
tree7d530c9de5fe500dd9bb5e5aa2ca4ab4f7b4843a
parent90cf590f53f2939a47ca7b397e270e8228699829
t1450: use egrep for regexp "alternation"

GNU grep allows "\(A\|B\)" as alternation in BRE, but this is an
extension not understood by some other implementations of grep
(Michael Kebe reported an breakage on Solaris).

Rewrite the offending test to ERE and use egrep instead.

Noticed-by: Michael Kebe <michael.kebe@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1450-fsck.sh