Fixed static build typo
Test: grep --null -Eo not supported on ubunti 20 Enable IPv6 for ubuntu Vagrant: enable insecure downloads
This commit is contained in:
parent
a51abd0063
commit
ac7673bc35
4 changed files with 8 additions and 2 deletions
|
|
@ -122,7 +122,7 @@ expectpart "$(curl $CURLOPTS -X POST -H "Content-Type: application/yang-data+jso
|
|||
new "restconf get config example1 and example2"
|
||||
ret=$(curl $CURLOPTS -X GET $RCPROTO://localhost/restconf/data)
|
||||
expect='"example1:x":42,"example2:x":{"y":99}'
|
||||
match=`echo $ret | grep --null -Eo "$expect"`
|
||||
match=`echo $ret | grep "$expect"`
|
||||
if [ -z "$match" ]; then
|
||||
err "$expect" "$ret"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue