From 4096742b6e95c879444b004a92f4fa43e648abed Mon Sep 17 00:00:00 2001 From: tjg Date: Thu, 17 Jul 2003 11:59:38 +0000 Subject: Testing: remove test for large file support, as it causes indigestion on file systems that don't support sparse files (thanks Scott Schwartz). --- tripping.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'tripping.c') diff --git a/tripping.c b/tripping.c index a9099ce..23b2972 100644 --- a/tripping.c +++ b/tripping.c @@ -19,21 +19,6 @@ static void ctrl_a(void) { puts("a\001ab\002b"); } -static void large(void) { - char c = 'c'; - -#define LARGE (((off_t)1<<33)+1) - - if (lseek(1, LARGE, SEEK_SET) != LARGE) { - perror("lseek"); - exit(1); - } - if (write(1, &c, 1) == -1) { - perror("write"); - exit(1); - } -} - static void makenonblock(void) { int flags; @@ -52,9 +37,6 @@ int main(int argc, char **argv) { case 'a': ctrl_a(); break; - case 'l': - large(); - break; case 'n': makenonblock(); break; -- cgit v1.2.3