diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2019-09-10 18:35:18 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2019-09-10 18:35:18 +0000 |
commit | 9b727a2a8c6ae3c11d7e3b5f7b4dec7db1ffb047 (patch) | |
tree | ac8757e11aaff0f57d6fe0b29756a363c886c94a /regress/usr.sbin/syslogd | |
parent | 3f2f87df8d1390d7e897e7ee9ea84b29f1504654 (diff) |
Fix race in syslogd test.
Diffstat (limited to 'regress/usr.sbin/syslogd')
-rw-r--r-- | regress/usr.sbin/syslogd/args-selector-syslog.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/usr.sbin/syslogd/args-selector-syslog.pl b/regress/usr.sbin/syslogd/args-selector-syslog.pl index 7eb2e6092d6..cc0f9875cb3 100644 --- a/regress/usr.sbin/syslogd/args-selector-syslog.pl +++ b/regress/usr.sbin/syslogd/args-selector-syslog.pl @@ -41,7 +41,7 @@ our %args = ( } else { write_message($self, get_testlog()); IO::Handle::flush(\*STDOUT); - ${$self->{syslogd}}->loggrep(get_testgrep(), 2); + ${$self->{syslogd}}->loggrep(get_testgrep(), 2, 2); setsockopt(STDOUT, SOL_SOCKET, SO_LINGER, pack('ii', 1, 0)) or die ref($self), " set socket linger failed: $!"; write_shutdown($self); |