/
githubmirror
/
rsyslog
Обзор
Документация
Войти
/
githubmirror
/
rsyslog
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
tests/chkseq_usage_output.sh
15 строк
442 B
Rainer Gerhards
testbench: cover remaining usage helpers
18 июн 2026, 08:17
18 июн 2026, 08:17
327c0be
Код
Авторство
О чём код?
#!/bin/bash # Covers the chkseq testbench helper usage path. The oracle is the diagnostic # text for an invalid option, proving the helper still prints actionable usage # output instead of failing silently. . ${srcdir:=.}/diag.sh init if ./chkseq -Z > "$RSYSLOG_OUT_LOG" 2>&1; then echo "chkseq unexpectedly succeeded with an invalid option" error_exit 1 fi content_check 'Invalid call of chkseq' content_check 'Usage: chkseq' exit_test