about summary refs log tree commit diff
path: root/resolv/tst-leaks.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-08-08 22:51:05 +0000
committerUlrich Drepper <drepper@redhat.com>2004-08-08 22:51:05 +0000
commit0b3cce3139d2cb17328c1fdd80789304250b5be3 (patch)
tree8afa622c5a5dbfbd091b52371a53bcc049f4995a /resolv/tst-leaks.c
parentf58dc02246c9afbd93b8874c86ff690cd4a33f75 (diff)
downloadglibc-0b3cce3139d2cb17328c1fdd80789304250b5be3.tar.gz
glibc-0b3cce3139d2cb17328c1fdd80789304250b5be3.tar.xz
glibc-0b3cce3139d2cb17328c1fdd80789304250b5be3.zip
[BZ #41]
Update.
	* resolv/tst-leaks.c (TIMEOUT): Define so that if no server is
	available the process is not killed. [BZ #41]
Diffstat (limited to 'resolv/tst-leaks.c')
-rw-r--r--resolv/tst-leaks.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/resolv/tst-leaks.c b/resolv/tst-leaks.c
index 0a94514645..daad8fcb6d 100644
--- a/resolv/tst-leaks.c
+++ b/resolv/tst-leaks.c
@@ -1,5 +1,5 @@
 /* Tests for res_query in libresolv
-   Copyright (C) 2003 Free Software Foundation, Inc.
+   Copyright (C) 2003, 2004 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -26,6 +26,7 @@
 extern int do_test (int argc, char *argv[]);
 
 /* This defines the `main' function and some more.  */
+#define TIMEOUT 40
 #include <test-skeleton.c>
 
 int