author | Brandon Casey <drafnel@gmail.com> | |
Tue, 20 Jul 2010 18:27:55 +0000 (13:27 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 20 Jul 2010 18:37:45 +0000 (11:37 -0700) | ||
commit | 77b5be2abab69a69618dd40a6ca8b754388b8216 | |
tree | 3f22f84af892942ffdfefdf640c5352eb4582755 | tree | snapshot |
parent | 460d562eab00070dfeb54f6ecbf803ad14aed4a5 | commit | diff |
t/{t5541,lib-httpd}: replace problematic '!()' notation with test_must_fail
The '!()' notation is interpreted as a pattern-list on Ksh. The Ksh man
page describe it as follows:
!(pattern-list)
Matches anything except one of the given patterns.
Ksh performs a file glob using the pattern-list and then tries to execute
the first file in the list. If a space is added between the '!' and the
open parens, then Ksh will not interpret it as a pattern list, but in this
case, it is preferred to use test_must_fail, so lets do so.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The '!()' notation is interpreted as a pattern-list on Ksh. The Ksh man
page describe it as follows:
!(pattern-list)
Matches anything except one of the given patterns.
Ksh performs a file glob using the pattern-list and then tries to execute
the first file in the list. If a space is added between the '!' and the
open parens, then Ksh will not interpret it as a pattern list, but in this
case, it is preferred to use test_must_fail, so lets do so.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/lib-httpd.sh | diff | blob | history | |
t/t5541-http-push.sh | diff | blob | history |