Filter-Id := "foo"

update request {
	Filter-Id !* ANY
}

if (Filter-Id) {
	test_fail
}

Filter-Id := "foo"
reply.Filter-Id := "bar"

update {
	request.Filter-Id !* ANY
	reply.[*] !* ANY
}

if (Filter-Id) {
	test_fail
}

if (reply.Filter-Id) {
	test_fail
}

update reply {
	NAS-Port := 12
}

if (!reply.NAS-Port) {
	test_fail
}

update reply {
	NAS-Port += 13
}

if (!(reply.NAS-Port[0] == 12)) {
	test_fail
}

if (!(reply.NAS-Port[1] == 13)) {
	test_fail
}

#
#  Clear out reply as we don't care about the attributes in it.
#
reply := {}

success
