aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorelly <elly@leptoquark.net>2013-06-24 15:36:01 -0400
committerelly <elly@leptoquark.net>2013-07-17 10:54:42 -0400
commitaa04c0126a590fc9646d491151bcbfeed34ba693 (patch)
tree98afc6f61fe8458922e85cb205fca20d928483ce /tests
parent0bd0c2d1fea2f8ad6361b7912bc99a6a28b1dfa9 (diff)
downloadtlsdate-aa04c0126a590fc9646d491151bcbfeed34ba693.tar.gz
Refactor event loop.
Refactor the event loop to be modular and testable. Also, add support for detecting corruption of the realtime clock, as can be caused by suspend/resume cycles without an rtc battery. The event loop is now driven by a tree of events, which are either sources (currently suspend/resume events, periodic events, and network route events) or composite events. Signed-off-by: Elly Fong-Jones <elly@leptoquark.net>
Diffstat (limited to 'tests')
-rw-r--r--tests/common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/common.sh b/tests/common.sh
index 96ba238..4283c01 100644
--- a/tests/common.sh
+++ b/tests/common.sh
@@ -1,7 +1,7 @@
#!/bin/sh
kill_tlsdated() {
- kill -9 $PPID
+ kill -TERM $PPID
}
passed() {