Re: [PATCH v9r1 2/2] test-config: add tests for the config_set API
Tanay Abhra <tanayabh@gmail.com> writes:
Show 11 quoted lines
> +# '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 $# != 0Broken &&-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/