On Mon, Nov 15, 2010 at 23:21, Junio C Hamano <gitster@xxxxxxxxx> wrote: > diff --git a/t/test-lib.sh b/t/test-lib.sh > index a417bdf..3088322 100644 > --- a/t/test-lib.sh > +++ b/t/test-lib.sh > @@ -613,7 +613,10 @@ test_line_count () { >    Âif test $# != 3 >    Âthen >        Âerror "bug in the test script: not 3 parameters to test_line_count" > -    elif ! test $(wc -l <"$3") "$1" "$2" > +    elif  Âcase "$3" in > +        !*)   ! test $( eval "${3#!}" | wc -l ) "$1" "$2" ;; > +        *)   Â! test $( wc -l <"$3" ) "$1" "$2" ;; > +        esac >    Âthen >        Âecho "test_line_count: line count for $3 !$1 $2" >        Âcat "$3" This line will fail for the !* case. Bert -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html