Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Side by Side Diff: third_party/pexpect/tests/needs_kill.py

Issue 1398903002: Add third_party/pexpect (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@end-to-end-test
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/pexpect/tests/list100.py ('k') | third_party/pexpect/tests/pexpectTest.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/env python
2 """This script can only be killed by SIGKILL."""
3 import signal, time
4
5 # Ignore interrupt, hangup and continue signals - only SIGKILL will work
6 signal.signal(signal.SIGINT, signal.SIG_IGN)
7 signal.signal(signal.SIGHUP, signal.SIG_IGN)
8 signal.signal(signal.SIGCONT, signal.SIG_IGN)
9
10 print('READY')
11 while True:
12 time.sleep(10)
13
OLDNEW
« no previous file with comments | « third_party/pexpect/tests/list100.py ('k') | third_party/pexpect/tests/pexpectTest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698