* Better compliance with XSD regexps (when transforming to Posix regexps)

* Added `\p{L}` and `\p{N}`
   * Added escaping of `$`
* Added regexp [test/test_pattern.sh]
This commit is contained in:
Olof hagsand 2019-05-22 20:21:48 +02:00
parent 7e109d1d4b
commit f7771d86c2
8 changed files with 724 additions and 32 deletions

View file

@ -31,6 +31,7 @@ if [ -f ./site.sh ]; then
# test skiplist.
for f in $SKIPLIST; do
if [ "$testfile" = "$f" ]; then
echo ...skipped
return -1 # skip
fi
done

650
test/test_pattern.sh Executable file

File diff suppressed because one or more lines are too long

View file

@ -197,7 +197,7 @@ new "restconf delete $perfreq small config"
rnd=$(( ( RANDOM % $perfnr ) ))
curl -s -X DELETE http://localhost/restconf/data/scaling:x/y=$rnd
done > /dev/null; } 2>&1 | awk '/real/ {print $2}'
exit
# Now do leaf-lists istead of leafs
new "generate large leaf-list config"

View file

@ -153,7 +153,7 @@ if [ $BE -ne 0 ]; then
start_backend -s init -f $cfg -y $fyang
new "waiting"
sleep $RCWAIT
wait_backend
fi
new "cli defined extension"