projects
/
gatekeeper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65b9058
)
Log startup/shutdown in mock syslog server
author
Jacob Bachmeyer
<jcb@gnu.org>
Thu, 4 Mar 2021 02:42:06 +0000
(20:42 -0600)
committer
Jacob Bachmeyer
<jcb@gnu.org>
Thu, 4 Mar 2021 02:42:06 +0000
(20:42 -0600)
testsuite/lib/exec/minlogd.pl
patch
|
blob
|
blame
|
history
diff --git
a/testsuite/lib/exec/minlogd.pl
b/testsuite/lib/exec/minlogd.pl
index 4d600957a50d346abc9389e7456226cd725a43f8..64d99efd117bfb0c109361a1e7cd84ba55c951a4 100755
(executable)
--- a/
testsuite/lib/exec/minlogd.pl
+++ b/
testsuite/lib/exec/minlogd.pl
@@
-182,6
+182,8
@@
sub accumulate_message () {
# -- event loop
+handle_message '<45>minlogd['.$$.']: begin logging';
+
my $Rrdy = '';
do {
# process syslog datagram input
@@
-193,6
+195,7
@@
do {
select $Rrdy=$Rchk, undef, undef, undef if $Running;
} while ($Running);
+handle_message '<45>minlogd['.$$.']: shutting down';
print "minlogd: shutting down\n";
cleanup;
exit;