summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-09-13 08:52:01 -0400
committerAnthony G. Basile <blueness@gentoo.org>2014-09-13 08:52:01 -0400
commit7ac0491cdb6e7e970d0721824fdea2f675272192 (patch)
tree0b2a5b3efb2dcbaef7d8c879cd7692f2b9d92d87 /test
parentffdc02f45bcc973249406b2c9bd996f8b27fa2a5 (diff)
udev: timeout - warn after a third of the timeout before killing
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'test')
-rw-r--r--test/test-udev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-udev.c b/test/test-udev.c
index cafe329c43..0d04078542 100644
--- a/test/test-udev.c
+++ b/test/test-udev.c
@@ -164,8 +164,8 @@ int main(int argc, char *argv[]) {
}
}
- udev_event_execute_rules(event, USEC_PER_SEC, rules, &sigmask_orig);
- udev_event_execute_run(event, USEC_PER_SEC, NULL);
+ udev_event_execute_rules(event, 3 * USEC_PER_SEC, USEC_PER_SEC, rules, &sigmask_orig);
+ udev_event_execute_run(event, 3 * USEC_PER_SEC, USEC_PER_SEC, NULL);
out:
if (event != NULL && event->fd_signal >= 0)
close(event->fd_signal);