summaryrefslogtreecommitdiffstats
path: root/tests/minitcpsrv_usage_output.sh
blob: 279a608107c19237367b6d867a65e4d8ed5ad4e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
# add 2018-11-15 by Jan Gerhards, released under ASL 2.0

. ${srcdir:=.}/diag.sh init

./minitcpsrv&> $RSYSLOG_DYNNAME.output
grep -q -- "-t parameter missing" $RSYSLOG_DYNNAME.output 

if [ ! $? -eq 0 ]; then
  echo "invalid response generated"
  error_exit  1
fi;

exit_test