Tanay Abhra <tanay...@gmail.com> writes:

> +# 'check_config get_* section.key value' verifies that the entry for
> +# section.key is 'value'
> +check_config () {
> +     if test "$1" = expect_code
> +     then
> +             expect_code="$2" && shift && shift
> +     else
> +             expect_code=0
> +     fi &&
> +     op=$1 key=$2 && shift && shift
> +     if test $# != 0

Broken &&-chain after shift.

(No time for more review right now, but I'll have time in ~3h from now)

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to