1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-09-28 19:05:55 +08:00
ULib/tests/examples/lrp_pusher.test
2015-01-23 17:24:36 +01:00

29 lines
735 B
Bash
Executable File

#!/bin/sh
. ../.function
## lrp_pusher.test -- Test lrp_pusher feature
start_msg lrp_pusher
#UTRACE="0 5M 0"
#UOBJDUMP="0 100k 10"
#USIMERR="error.sim"
#EXEC_ON_EXIT="/utility/stack_dump.sh"
export UTRACE UOBJDUMP USIMERR EXEC_ON_EXIT
rm -f Custom_Sessions.log
DIR_CMD="../../examples/lrp_session"
FILE_REQUEST1=`echo WebServices_webservices-rate_*.req | head -n1`
FILE_REQUEST2=`echo WebServices_webservices-amount_*.req | head -n1`
#start_prg lrp_pusher -H tnetadmin.t-bizcom.com -D 'cn=admin,o=tnet' -w password \
# -u lrpadmin 10.30.1.2 $FILE_REQUEST1 apply
start_prg lrp_pusher -c lrp.cfg 10.30.1.2 $FILE_REQUEST1 apply 10.30.1.2 $FILE_REQUEST2 drop
# Test against expected output
test_output_wc w lrp_pusher