rsyslog/tests/improg-multiline-test.py
Nelson Yen cc0537c808 bug fix: allow improg to handle multi-line inputs
miscellaneous bug fixes in improg:
- properly truncate string after an input event is submitted
- set msgoffset to 0.
- tests added to check above fixes
2019-10-02 10:46:13 -07:00

8 lines
113 B
Python
Executable File

#!/usr/bin/env python
import sys
for _ in range(10):
mystr = 'multi-line-string\n'
sys.stdout.write(mystr)