X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_write_EROFS.c;h=fed646c15837e5db79d299cca57e57cd0aa23c26;hp=d39e42a71f1f9fc2155825a43a96be7991f7bb3c;hb=6648cbf52d6695755941ff8607fd7a0cda542e05;hpb=41a39f326b4b732a36310275c0f4489c07117679 diff --git a/direct/timothy_tests/quick_tests/test_yaffs_write_EROFS.c b/direct/timothy_tests/quick_tests/test_yaffs_write_EROFS.c index d39e42a..fed646c 100644 --- a/direct/timothy_tests/quick_tests/test_yaffs_write_EROFS.c +++ b/direct/timothy_tests/quick_tests/test_yaffs_write_EROFS.c @@ -1,7 +1,7 @@ /* * YAFFS: Yet another FFS. A NAND-flash specific file system. * - * Copyright (C) 2002-2010 Aleph One Ltd. + * Copyright (C) 2002-2011 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering * * Created by Timothy Manning @@ -19,8 +19,8 @@ int test_yaffs_write_EROFS(void) { int output=0; int error_code=0; + handle=test_yaffs_open(); EROFS_setup(); - handle=yaffs_open(FILE_PATH, O_CREAT ,S_IREAD); if (handle>=0){ output= yaffs_write(handle, FILE_TEXT, FILE_TEXT_NBYTES); if (output<0){