Merge branch 'master' of ssh://www.aleph1.co.uk/home/aleph1/git/yaffs2
[yaffs2.git] / direct / timothy_tests / quick_tests / test_yaffs_rename_ELOOP_dir.c
index 080d20a9cfb76b033f2fe0f899eec5f6ee2bc76f..c6e8b88d3ecf7c79ef30d48982e18986d8f1f8eb 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>
@@ -44,14 +44,6 @@ int test_yaffs_rename_ELOOP_dir(void)
 
 int test_yaffs_rename_ELOOP_dir_clean(void)
 {
-       int output = 0;
-       if (0 ==  yaffs_access(RENAME_PATH,0)) {
-               output = yaffs_rename(RENAME_PATH,FILE_PATH);
-               if (output < 0) {
-                       print_message("failed to remove the directory\n",2);
-                       return -1;
-               }
-       }
        return 1;
 
 }