| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | # add 2020-01-08 by Rainer Gerhards, released under ASL 2.0 |
| 3 | . ${srcdir:=.}/diag.sh init |
| 4 | generate_conf |
| 5 | add_conf ' |
| 6 | action(type="omfwd" target="localhost" port="514" streamdriver.permitexpiredcerts="invld") |
| 7 | action(type="omfile" file="'$RSYSLOG_OUT_LOG'") |
| 8 | ' |
| 9 | startup |
| 10 | shutdown_when_empty |
| 11 | wait_shutdown |
| 12 | content_check "streamdriver.permitExpiredCerts must be 'warn', 'off' or 'on' but is 'invld'" |
| 13 | exit_test |