about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-03-22 08:58:49 +0000
committerEric Wong <e@yhbt.net>2020-03-24 22:00:45 +0000
commitdecbb9936a25dfedf6ecd916d8e0403f06217ec9 (patch)
treec6811d629f13e9688cb9f9e4667aa5abe920b9bb /t
parentd7fda3f4b9d4c9e6d01c818f09905d6827fa693f (diff)
downloadpublic-inbox-decbb9936a25dfedf6ecd916d8e0403f06217ec9.tar.gz
We need to track the PID file having ".oldbin" appended
to it while a SIGUSR2 upgrade is in progress and ensure
it is unlinked on SIGQUIT.
Diffstat (limited to 't')
-rw-r--r--t/httpd-unix.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/httpd-unix.t b/t/httpd-unix.t
index 02f5e4a9..a0fe1e31 100644
--- a/t/httpd-unix.t
+++ b/t/httpd-unix.t
@@ -163,6 +163,7 @@ SKIP: {
         # drop the old parent
         kill('QUIT', $old_pid) or die "QUIT failed: $!";
         delay_until(sub { !kill(0, $old_pid) });
+        ok(!-f "$pid_file.oldbin", '.oldbin PID file gone');
 
         # drop the new child
         check_sock($unix);