blob: 4da591236cb3a167b9b90fa83ef21567c25f61cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/bash
# add 2018-11-13 by Jan Gerhards, released under ASL 2.0
. ${srcdir:=.}/diag.sh init
./mangle_qi &> $RSYSLOG_DYNNAME.output
grep -q -- "-q option MUST be specified" $RSYSLOG_DYNNAME.output
if [ ! $? -eq 0 ]; then
echo "invalid response generated"
error_exit 1
fi;
exit_test
|