mirror of
https://github.com/obgm/libcoap.git
synced 2026-10-26 12:41:22 +03:00
Update the etsi test cases in the examples directory
examples/etsi_coaptest.sh examples/etsi_testcases.sh Minor corrections to the scripts to get them working
This commit is contained in:
1 parent
78c59ff300
commit
c216a8801d
2 files changed
+4
-4
No files matched your search
@@ -36,7 +36,7 @@ testgroups=( CORE LINK BLOCK OBS )
|
||||
testnumber=-1
|
||||
group=''
|
||||
|
||||
source etsi_testcases.sh
|
||||
source `dirname $0`/etsi_testcases.sh
|
||||
|
||||
function usage {
|
||||
echo "Usage: `basename $0` [-n testnumber] [-g groupname] [-t timeout] [-P server_port] [-p client port] [-d logdir] [-v] -i interface server_address" 1>&2
|
||||
|
||||
@@ -481,8 +481,8 @@ function TD_COAP_LINK_01 {
|
||||
if [[ ! $(echo $clientoutput | grep rt) ]] ; then
|
||||
echo "no resource with attribute rt found on server"
|
||||
else
|
||||
rt="${clientoutput##*rt=\"}"
|
||||
rt="${rt%%\";*}"
|
||||
rt="${clientoutput##*rt=}"
|
||||
rt="${rt%%;*}"
|
||||
fi
|
||||
echo -e "\nOutput of client:"
|
||||
echo -e $clientoutput
|
||||
@@ -762,4 +762,4 @@ function TD_COAP_OBS_05 {
|
||||
#"-v 5 -B $clienttimeout -p $CLIENTPORT -s 0 -N"
|
||||
testaddress=coap://[::1]/obs
|
||||
start_coap_test $1
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user