Blob Blame History Raw
# test what happens with multiple defines of a name.
#
# Note that svGetValue() will return "l4x", which
# isn't correct in terms of shell-parsing. But we
# don't consider only line-by-line, thus this is
# expected.
#
# Also note that setting IPADDR will replace the last
# occurrence, and delete all previous once.

#L1
IPADDR=l2

#L2
IPADDR=l3

METRIC1=''
METRIC2=$'\U0x'
METRIC3=$'x\U0'

#L4
IPADDR='
IPADDR=l4x
'

#Lx-1
IPADDR2=not-visible
#Lx-2
IPADDR2='invalid
#Lx-3

#Ly-1
IPADDR3='invalid
#Ly-2
IPADDR3=name3-value
#Ly-3