summaryrefslogtreecommitdiffstats
path: root/lldb/third_party/Python/module/pexpect-4.6/tests/alarm_die.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/third_party/Python/module/pexpect-4.6/tests/alarm_die.py')
-rw-r--r--lldb/third_party/Python/module/pexpect-4.6/tests/alarm_die.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/lldb/third_party/Python/module/pexpect-4.6/tests/alarm_die.py b/lldb/third_party/Python/module/pexpect-4.6/tests/alarm_die.py
new file mode 100644
index 00000000000..a1519abac1d
--- /dev/null
+++ b/lldb/third_party/Python/module/pexpect-4.6/tests/alarm_die.py
@@ -0,0 +1,5 @@
+import signal, time
+
+signal.alarm(1) # Schedule SIGALRM in 1s
+
+time.sleep(6) \ No newline at end of file
OpenPOWER on IntegriCloud