File: basic.sh

package info (click to toggle)
librelp 1.12.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,516 kB
  • sloc: ansic: 8,223; sh: 5,083; makefile: 146; python: 25
file content (10 lines) | stat: -rwxr-xr-x 219 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
. ${srcdir:=$(pwd)}/test-framework.sh
startup_receiver $OPT_VERBOSE

echo 'Send Message...'
./send -t 127.0.0.1 -p $TESTPORT -m "testmessage" $OPT_VERBOSE

stop_receiver
check_output "testmessage"
terminate