From: Martin Mares Date: Sat, 18 Feb 2012 17:13:16 +0000 (+0100) Subject: Removed obsolete lfs-test X-Git-Tag: v5.0~20 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=1f3a9716f24cc230421b45234bc99e0569b4cc2e;p=libucw.git Removed obsolete lfs-test --- diff --git a/ucw/Makefile b/ucw/Makefile index 584ae85f..5cb6dc51 100644 --- a/ucw/Makefile +++ b/ucw/Makefile @@ -94,7 +94,6 @@ $(o)/ucw/hashfunc.o $(o)/ucw/hashfunc.oo: CFLAGS += -funroll-loops $(o)/ucw/lizard.o: CFLAGS += $(COPT2) -funroll-loops $(o)/ucw/conf-test: $(o)/ucw/conf-test.o $(LIBUCW) -$(o)/ucw/lfs-test: $(o)/ucw/lfs-test.o $(LIBUCW) $(o)/ucw/hash-test: $(o)/ucw/hash-test.o $(LIBUCW) $(o)/ucw/hashfunc-test: $(o)/ucw/hashfunc-test.o $(LIBUCW) $(o)/ucw/asort-test: $(o)/ucw/asort-test.o $(LIBUCW) diff --git a/ucw/lfs-test.c b/ucw/lfs-test.c deleted file mode 100644 index 69db96a9..00000000 --- a/ucw/lfs-test.c +++ /dev/null @@ -1,63 +0,0 @@ -/* Test of large files */ - -#include -#include - -#include -#include -#include -#include -#include - -#define BLOCK (1<<10) -#define COUNT (5<<20) -#define TESTS (1<<20) - -int main(void) -{ - struct fastbuf *b; - byte block[BLOCK]; - uns i; - - srand(time(NULL)); -#if 0 - b = bopen("/big/robert/large-file", O_CREAT | O_TRUNC | O_RDWR, 1<<20); - if (!b) - die("Cannot create large-file"); - - msg(L_DEBUG, "Writing %d blocks of size %d", COUNT, BLOCK); - for (i=0; i