diff options
author | Arjun Shankar <arjun.is@lostca.se> | 2014-12-16 15:18:46 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-12-16 16:55:22 +0530 |
commit | 0e426475a70800b6a17daa7a8ebbafeabfcbc022 (patch) | |
tree | 19a3e11d78a9d0914263e2152371cdcc730cd829 /stdio-common/tst-fseek.c | |
parent | 4f646bce1cae4031bfe7517e4793f1edc1a15220 (diff) | |
download | glibc-0e426475a70800b6a17daa7a8ebbafeabfcbc022.tar.gz glibc-0e426475a70800b6a17daa7a8ebbafeabfcbc022.tar.xz glibc-0e426475a70800b6a17daa7a8ebbafeabfcbc022.zip |
Modify stdio-common/tst-fseek.c to use test-skeleton.c
This test needs a TIMEOUT longer than the default 2 seconds since it sleeps twice for a second each.
Diffstat (limited to 'stdio-common/tst-fseek.c')
-rw-r--r-- | stdio-common/tst-fseek.c | 8 |
1 files changed, 6 insertions, 2 deletions
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" |