Optimized get config xpath of large lists, such as a[x=1000] in a list of 100000s a:s.

This commit is contained in:
Olof hagsand 2020-07-23 20:41:32 +02:00
parent 9e2bdb8c8e
commit 83203623cd
8 changed files with 163 additions and 34 deletions

View file

@ -299,16 +299,16 @@ EOF
# There is some issue with having different payloads in the config file
# That is why there are tests with different payloads
new "b payload only---------"
new "b payload only"
testall '<dummy xmlns="urn:example:b"/>' '<dummy xmlns="urn:example:b"/>'
new "b payload and interfaces payload---------"
testall '<dummy xmlns="urn:example:b"/><dummy xmlns="urn:example:interfaces"/>' '<dummy xmlns="urn:example:b"/>'
new "a payload only---------"
new "a payload only"
testall '<dummy xmlns="urn:example:interfaces"/>' ''
new "empty payload---------"
new "empty payload"
testall '' ''
rm -rf $dir