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:
Jon Shallow committed 2018-12-07 20:22:56 +00:00
1 parent 78c59ff300
commit c216a8801d
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -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
+3 -3
View File
@@ -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
}
}