mtd/fs/jffs2/ecos/tests fileio1.c,1.2,1.3

David Woodhouse dwmw2 at infradead.org
Fri Nov 28 10:04:16 EST 2003


Update of /home/cvs/mtd/fs/jffs2/ecos/tests
In directory phoenix.infradead.org:/tmp/cvs-serv10879

Modified Files:
	fileio1.c 
Log Message:
Increase IOSIZE so we at least test compression

Index: fileio1.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/ecos/tests/fileio1.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- fileio1.c	22 Jan 2003 18:08:12 -0000	1.2
+++ fileio1.c	28 Nov 2003 15:04:14 -0000	1.3
@@ -97,7 +97,7 @@
 
 //==========================================================================
 
-#define IOSIZE  100
+#define IOSIZE  1000
 
 #define LONGNAME1       "long_file_name_that_should_take_up_more_than_one_directory_entry_1"
 #define LONGNAME2       "long_file_name_that_should_take_up_more_than_one_directory_entry_2"
@@ -182,7 +182,7 @@
 
 static void createfile( char *name, size_t size )
 {
-    char buf[IOSIZE];
+    unsigned char buf[IOSIZE];
     int fd;
     ssize_t wrote;
     int i;
@@ -255,7 +255,7 @@
 
 static void checkfile( char *name )
 {
-    char buf[IOSIZE];
+    unsigned char buf[IOSIZE];
     int fd;
     ssize_t done;
     int i;




More information about the linux-mtd-cvs mailing list