}
if (&Tmp-String-0[0] != 'foo') {
- fail
+ test_fail
}
# Delete an attribute by assigning a non-existent attribute to it
# Should only remove 'bar'
if (&Tmp-String-0[0] != 'foo') {
- fail
+ test_fail
}
# Nothing should exist for this attribute.
if (&Tmp-String-0[1]) {
- fail
+ test_fail
}
if (&Tmp-String-0[2]) {
- fail
+ test_fail
}
update {
# All instances should be removed
if (&Tmp-String-0) {
- fail
+ test_fail
}
success
}
if (&Tmp-String-0[0] != 'foo') {
- fail
+ test_fail
}
# Now delete the LHS by assigning the control list to it (which is empty)
}
if (&Tmp-String-0 || &Tmp-String-1) {
- fail
+ test_fail
}
success
&Tmp-Octets-0 := "%{Tmp-Octets-1}"
}
if (&Tmp-Integer-0) {
- fail
+ test_fail
}
#
&Tmp-String-0 := "%{Reply-Message}"
}
if (!&Tmp-String-0) {
- fail
+ test_fail
}
if (&Tmp-String-0 != '') {
- fail
+ test_fail
}
#
&Tmp-Octets-0 := "%{Reply-Message}"
}
if (&Tmp-Octets-0 != "") {
- fail
+ test_fail
}
success