Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: [PATCH v9r1 2/2] test-config: add tests for the config_set API

From: Matthieu Moy <hidden>
Date: 2016-06-15 23:01:56

Possibly related (same subject, not in this thread)

Tanay Abhra [off-list ref] 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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help