Unified netconf input function
First for external use, later internal
This commit is contained in:
parent
04d5f52d90
commit
e7c9f3d075
12 changed files with 534 additions and 32 deletions
|
|
@ -494,7 +494,7 @@ function chunked_equal()
|
|||
fi
|
||||
}
|
||||
|
||||
# Given a string, add RFC6242 chunked franing around it
|
||||
# Given a string, add RFC6242 chunked framing around it
|
||||
# Args:
|
||||
# 0: string
|
||||
function chunked_framing()
|
||||
|
|
@ -818,6 +818,7 @@ function expecteof(){
|
|||
retval=$2
|
||||
input=$3
|
||||
expect=$4
|
||||
|
||||
if [ $# -gt 4 ]; then
|
||||
errfile=$(mktemp)
|
||||
expecterr=$5
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue