projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix subscription-id decoding function
[anna.git]
/
example
/
diameter
/
launcher
/
resources
/
scripts
/
tinyTestcase.sh
diff --git
a/example/diameter/launcher/resources/scripts/tinyTestcase.sh
b/example/diameter/launcher/resources/scripts/tinyTestcase.sh
index
bd1c733
..
a8e44ea
100755
(executable)
--- a/
example/diameter/launcher/resources/scripts/tinyTestcase.sh
+++ b/
example/diameter/launcher/resources/scripts/tinyTestcase.sh
@@
-115,7
+115,12
@@
update_testcase () {
then
# Send the request
# Special case for SNR/SNA (code=8388636): the Session-Id is created on client and received on SLR previously
then
# Send the request
# Special case for SNR/SNA (code=8388636): the Session-Id is created on client and received on SLR previously
- [ "$code" = "8388636" -a "$adml_type" = "server" ] && s_send="test|1|$send_command|$xml|$REQUEST_STEP"
+ if [ "$code" = "8388636" -a "$adml_type" = "server" ]
+ then
+ s_send="test|1|$send_command|$xml|$REQUEST_STEP"
+ s_wait="test|1|$wait_command|$code|0"
+ fi
+
echo "$s_send" >> $TESTCASE_BN
if [ -n "$resultcode" ]
echo "$s_send" >> $TESTCASE_BN
if [ -n "$resultcode" ]
@@
-139,7
+144,7
@@
update_testcase () {
# Wait the request
# Special case for SLR/SLA (code=8388635): the Session-Id is created on client
# Wait the request
# Special case for SLR/SLA (code=8388635): the Session-Id is created on client
- [ "$code" = "8388635" -a "$adml_type" = "server" ] && { s_wait="test|1|$wait_command|$code|1
|||||$subscriber
" ; REQUEST_STEP=$next_step_number ; }
+ [ "$code" = "8388635" -a "$adml_type" = "server" ] && { s_wait="test|1|$wait_command|$code|1" ; REQUEST_STEP=$next_step_number ; }
echo "$s_wait" >> $TESTCASE_BN
# Send the answer
echo "$s_wait" >> $TESTCASE_BN
# Send the answer