diff options
author | Brandon Casey <drafnel@gmail.com> | 2010-07-20 13:27:55 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-07-20 11:37:45 -0700 |
commit | 77b5be2abab69a69618dd40a6ca8b754388b8216 (patch) | |
tree | 3f22f84af892942ffdfefdf640c5352eb4582755 /t/t5515/refs.master | |
parent | t/t3700: convert two uses of negation operator '!' to use test_must_fail (diff) | |
download | tgif-77b5be2abab69a69618dd40a6ca8b754388b8216.tar.xz |
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>
Diffstat (limited to 't/t5515/refs.master')
0 files changed, 0 insertions, 0 deletions