Code

tests: shell negation portability fix
authorJeff King <peff@peff.net>
Mon, 13 Oct 2008 09:35:59 +0000 (05:35 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 17 Oct 2008 18:30:54 +0000 (11:30 -0700)
commit72130808173d3dfee85f2a29548fa9fec33a5351
tree09be2c953557aa9429f9a2a94caeab512cb2907c
parent8ed0a740dd42bd0724aebed6e3b07c4ea2a2d5e8
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