/
githubmirror
/
rsyslog
Обзор
Документация
Войти
/
githubmirror
/
rsyslog
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
tests/diskqueue-non-unique-prefix.sh
29 строк
990 B
Rainer Gerhards
config processing: check disk queue file is unique
02 май 2019, 12:36
Не верифицирован
02 май 2019, 12:36
e22fb20
Код
Авторство
О чём код?
#!/bin/bash # Test for config parser to check that disk queue file names are # unique. # added 2019-05-02 by Rgerhards # This file is part of the rsyslog project, released under ASL 2.0 . ${srcdir:=.}/diag.sh init generate_conf add_conf ' global(workDirectory="'${RSYSLOG_DYNNAME}'.spool") if 0 then { action(type="omfile" file="'$RSYSLOG_DYNNAME'.notused" queue.filename="qf1" queue.type="linkedList") action(type="omfile" file="'$RSYSLOG_DYNNAME'.notused" queue.filename="qf1" queue.type="linkedList") action(type="omfile" file="'$RSYSLOG_DYNNAME'.notused" queue.filename="qf2" queue.type="linkedList") action(type="omfile" file="'$RSYSLOG_DYNNAME'.notused" queue.spooldirectory="'$RSYSLOG_DYNNAME'.spool2" queue.filename="qf2" queue.type="linkedList") } action(type="omfile" file="'$RSYSLOG_OUT_LOG'") ' startup shutdown_when_empty wait_shutdown content_check "and file name prefix 'qf1' already used" check_not_present "and file name prefix 'qf2' already used" exit_test