yaffs: Update year to 2011 in copyrights etc.
[yaffs2.git] / direct / timothy_tests / quick_tests / test_yaffs_rename_file_to_dir.c
index b756b3e1e9a896f72cc8999e9b1b0c26d4b7ae4c..efc87d0f2405c031e10a5f4e284b4d1618632405 100644 (file)
@@ -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 <timothy@yaffs.net>
@@ -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;