group foo
string total

foo := {User-Name = "a", User-Password = "b", User-Name = "c", User-Password = "d" }

total = ""

#
#  For now, just test that we can parse key things
#
foreach string key, string name (foo.User-Name[*]) {
	total += key
	total += " = "
	total += name
	total += ","
}


if (total != "foo.User-Name[0] = a,foo.User-Name[1] = c,") {
	test_fail
}

success
