summaryrefslogtreecommitdiffstats
path: root/regress/usr.sbin/syslogd/args-ttymsg-delay.pl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Syslogd can send messages to a user, test what happens if thebluhm2016-06-221-3/+6
| | | | | | terminal is blocking to receive messages. Stop the fake user terminal and look for a delayed write debug message from syslogd. This makes the test more reliable.
* Test logging to console by redirecting the system's console into abluhm2015-12-301-3/+3
| | | | | | | file. All subtests get an additional /dev/console entry in syslog.conf, then check that messages appear in the console file. Add a test that stops syslogd, calls sendsyslog2() with LOG_CONS and checks that the message appears in the console file.
* Add tests that call the syscalls sendsyslog(2) and sendsyslog2(2)bluhm2015-12-041-1/+1
| | | | directly.
* Check that syslogd delays a blocking write to tty and that that allbluhm2015-10-231-0/+33
messages still appear on the tty.