Fix tests for http/1 and http/2 only respectively
This commit is contained in:
parent
a7a699a8b5
commit
55377786c1
9 changed files with 121 additions and 32 deletions
|
|
@ -30,6 +30,12 @@ fyang=$dir/example.yang
|
|||
fyang2=$dir/augment.yang
|
||||
fxml=$dir/initial.xml
|
||||
fstate=$dir/state.xml
|
||||
|
||||
if ! ${HAVE_LIBEVHTP}; then
|
||||
echo "...skipped: LIBEVHTP is false, must run with http/1 (evhtp)"
|
||||
if [ "$s" = $0 ]; then exit 0; else return 0; fi
|
||||
fi
|
||||
|
||||
RCPROTO=http # Force to http due to netcat
|
||||
HVER=1.1
|
||||
|
||||
|
|
@ -327,6 +333,8 @@ fi
|
|||
|
||||
# Set by restconf_config
|
||||
unset RESTCONFIG
|
||||
unset HVER
|
||||
unset RCPROTO
|
||||
|
||||
rm -rf $dir
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue