about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--stdio-common/tst-fseek.c8
2 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 8ce0f92a5f..7b724d0d12 100644
--- 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>.
diff --git a/stdio-common/tst-fseek.c b/stdio-common/tst-fseek.c
index 1ab4702ab1..5b9c751dbb 100644
--- a/stdio-common/tst-fseek.c
+++ b/stdio-common/tst-fseek.c
@@ -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"