File: send-noconnect.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 (9 lines) | stat: -rwxr-xr-x 331 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
#!/bin/bash
# check that failed connect to receiver is gracefully handled and error
# message emitted.
# written 2018-11-20 by Rainer Gerhards, released under ASL 2.0
. ${srcdir:=$(pwd)}/test-framework.sh
./send -t 127.0.0.1 -p $TESTPORT -m "testmessage" $OPT_VERBOSE &> $OUTFILE

check_output "error opening connection"
terminate