Skip to content

Commit

Permalink
Merge pull request #43 from chwarr/func-test-windows-sigstp
Browse files Browse the repository at this point in the history
Function test improvements for Windows: SIGSTP
  • Loading branch information
ahyatt committed Feb 25, 2016
2 parents fca0561 + 8299e57 commit 4f8ddb6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion websocket-functional-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,10 @@
(websocket-close wstest-ws)
(assert (null (websocket-openp wstest-ws)))

(stop-process wstest-server-proc)
(if (not (eq system-type 'windows-nt))
; Windows doesn't have support for the SIGSTP signal, so we'll just kill
; the process.
(stop-process wstest-server-proc))
(kill-process wstest-server-proc)

;; Make sure the processes are closed. This happens asynchronously,
Expand Down

0 comments on commit 4f8ddb6

Please sign in to comment.