X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_rename_file_to_dir.c;h=8954828fc06e4d08a33778add0dc4b479547a104;hb=8cbfc1e273db791447911631e80c0495c6171ca8;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..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;