]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Modify stdio-common/tst-fseek.c to use test-skeleton.c
authorArjun Shankar <arjun.is@lostca.se>
Tue, 16 Dec 2014 09:48:46 +0000 (15:18 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Tue, 16 Dec 2014 11:25:22 +0000 (16:55 +0530)
This test needs a TIMEOUT longer than the default 2 seconds since it
sleeps twice for a second each.

ChangeLog
stdio-common/tst-fseek.c

index 8ce0f92a5f58b4a0d99143f6485d1982ac13017b..7b724d0d123555321c74e31282b77d0c33b052d7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
+
+       * stdio-common/tst-fseek.c: Use test-skeleton.c.
+
 2014-12-16  Torvald Riegel  <triegel@redhat.com>
 
        * string/tester.c: Include <libc-internal.h>.
index 1ab4702ab1277946d04855b8a6a1ef931526bb5c..5b9c751dbb716ed22a6fc670e2217feef5b1d909 100644 (file)
@@ -27,8 +27,8 @@
 #include <sys/stat.h>
 
 
-int
-main (void)
+static int
+do_test (void)
 {
   const char *tmpdir;
   char *fname;
@@ -476,3 +476,7 @@ main (void)
 
   return result;
 }
+
+#define TIMEOUT 3
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"