X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fsignals.impure.lisp;h=c4f347e443d069ad1956fa3c943377f5bd2a0ee1;hb=f77e81ba7736fc7df9ca7d37b93f662f36dae39f;hp=716580c387031f4d11cbac16bcb7cf49af402d9b;hpb=3cd0a9aafc20ce12075f38ebaed86676c922fde2;p=sbcl.git diff --git a/tests/signals.impure.lisp b/tests/signals.impure.lisp index 716580c..c4f347e 100644 --- a/tests/signals.impure.lisp +++ b/tests/signals.impure.lisp @@ -70,9 +70,15 @@ :skipped-on :win32) (assert (eq :condition (handler-case - (sb-thread::kill-safely - (sb-thread::thread-os-thread sb-thread::*current-thread*) - sb-unix:sigint) + (progn + (sb-thread::kill-safely + (sb-thread::thread-os-thread sb-thread::*current-thread*) + sb-unix:sigint) + #+sb-safepoint-strictly + ;; In this case, the signals handler gets invoked + ;; indirectly through an INTERRUPT-THREAD. Give it + ;; enough time to hit. + (sleep 1)) (sb-sys:interactive-interrupt () :condition)))))