author | Jeff King <peff@peff.net> | |
Mon, 13 Oct 2008 09:35:59 +0000 (05:35 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 17 Oct 2008 18:30:54 +0000 (11:30 -0700) | ||
commit | 72130808173d3dfee85f2a29548fa9fec33a5351 | |
tree | 09be2c953557aa9429f9a2a94caeab512cb2907c | tree | snapshot |
parent | 8ed0a740dd42bd0724aebed6e3b07c4ea2a2d5e8 | commit | diff |
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>
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 | diff | blob | history |