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=8954828fc06e4d08a33778add0dc4b479547a104;hb=137f935f6d622bffdef2fece0c5194e85f5174e9;hp=b756b3e1e9a896f72cc8999e9b1b0c26d4b7ae4c;hpb=d223baa0fa5644b48c2626f8d42b05ac45b1daf6;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..8954828 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 @@ -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;