Commit 1f24a032 authored by kgardas's avatar kgardas Committed by Austin Seipp
Browse files

fix topHandler03 execution on Solaris where shell signals SIGTERM correctly

Summary:
This patch fixes topHandler03 execution on Solaris where
shell correctly signals SIGTERM as exit status 15.

Test Plan: validate

Reviewers: austin

Reviewed By: austin

Subscribers: phaskell, simonmar, relrod, ezyang, carter

Differential Revision: https://phabricator.haskell.org/D112
parent 7328deb6
......@@ -152,7 +152,8 @@ test('topHandler03',
[when(opsys('mingw32'), skip),
# As above, shells, grrr.
ignore_output,
exit_code(143) # actually signal 15 SIGTERM
when(opsys('solaris2'), exit_code(15)), # Solaris signals 15 correctly
when(not opsys('solaris2'), exit_code(143)) # actually signal 15 SIGTERM
], compile_and_run, [''])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment