#
321263 |
|
20-Jul-2017 |
ngie |
MFC r318960,r319545,r319546,r319548,r321261:
r318960 (by dab):
Add newsyslog capability to write RFC5424 compliant rotation message.
This modification adds the capability to newsyslog to write the rotation message in a format that is compliant with RFC5424. This capability is enabled on a per-log file basis through a new value ("T") in the flags field in newsyslog.conf. This is useful on systems that use the RFC5424 format for log files so that the rotation message format matches that of the other log messages. There has been recent mention of adding an RFC5424 compliant mode to syslogd and at least one alternative system log daemon (rsyslogd) that already has the capability to use that format.
Relnotes: yes
r319545:
Don't execute the TODO cases in a subshell
This messes up the testcase counter, as seen in bug 219756.
PR: 212160, 219756
r319546:
Fix the testplan after ^/head@r318960
The number of executed testcases is 128, not 126.
MFC with: r318960
r319548:
Remove TODO for sub testcases added for bug 212160
On closer inspection, the past failures no longer occur on ^/head.
PR: 212160
r321261:
Clean up leading whitespace (convert single column spaces to hard tabs)
|
#
263226 |
|
16-Mar-2014 |
jmmv |
Migrate tools/regression/{usr.bin/lastcomm,usr.sbin}/ to the new tests layout.
This change was originally going to only migrate the usr.sbin tests but, as it turns out, the usr.sbin/sa/ tests require files from usr.bin/lastcomm/ so it's better to just also migrate the latter at the same time. The other usr.bin tests will be moved separately.
To make these tests work within the test suite, some of them have required changes to prevent modifying the source directory and instead just rely on the current directory for file manipulation.
|
#
210373 |
|
22-Jul-2010 |
simon |
Add regression tests for newsyslog. These are far from a complete test of newsyslog, as they were mainly made to test 'newsyslog -t', but they do test the basic functionality.
The test 'framework' was based on dds@'s code in src/tools/regression/bin/mv/.
Note that currently these tests are not fully correct for the non-timestamp based rotation case, as it seems like newsyslog actually by default keeps a file too much around.
MFC after: 3 weeks
|