X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_rename_file_to_dir.c;h=efc87d0f2405c031e10a5f4e284b4d1618632405;hb=597a9ecaee1fbcad4be10382dca705522a2d5a82;hp=b756b3e1e9a896f72cc8999e9b1b0c26d4b7ae4c;hpb=2dd4e343b24a917f157d204d1f44d99e61c2d41f;p=yaffs2.git diff --git a/direct/timothy_tests/quick_tests/test_yaffs_rename_file_to_dir.c b/direct/timothy_tests/quick_tests/test_yaffs_rename_file_to_dir.c index b756b3e..efc87d0 100644 --- a/direct/timothy_tests/quick_tests/test_yaffs_rename_file_to_dir.c +++ b/direct/timothy_tests/quick_tests/test_yaffs_rename_file_to_dir.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 @@ -52,6 +52,11 @@ int test_yaffs_rename_file_to_dir_clean(void) print_message("failed to unlink the file\n",2); return -1; } + output = test_yaffs_open(); + if (output < 0) { + print_message("failed to open a new\n",2); + return -1; + } } return 1;