tests: shell negation portability fix
commit80bfd76af7ac817d4a4b9b7d54485076897c9a67
authorJeff King <peff@peff.net>
Mon, 13 Oct 2008 09:35:59 +0000 (13 05:35 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 Oct 2008 15:43:04 +0000 (13 08:43 -0700)
tree497831cc9b18a2574a5dd1e7104b7561a2c67a5e
parent5c283eb13c94be6ca974aa722159dc9838d10d97
tests: shell negation portability fix

Commit 969c8775 introduced a test which uses the non-portable construct:

  command1 && ! command2 | command3

which must be

  command1 && ! (command2 | command3)

to work on bsd shells (this is another example of bbf08124, which fixed
several similar cases).

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4128-apply-root.sh