yaffs Added more tests to direct/timothy_tests/quick_tests
[yaffs2.git] / direct / timothy_tests / quick_tests / test_yaffs_access_ELOOP_dir.c
similarity index 83%
rename from direct/timothy_tests/quick_tests/test_yaffs_access_ELOOP.c
rename to direct/timothy_tests/quick_tests/test_yaffs_access_ELOOP_dir.c
index feae2efa54a2f6f8c99b476d4ec92d94c61961ac..9f574d78f184e739a1c98382edac8d1bd3330c9b 100644 (file)
@@ -11,9 +11,9 @@
  * published by the Free Software Foundation.
  */
 
  * published by the Free Software Foundation.
  */
 
-#include "test_yaffs_access_ELOOP.h"
+#include "test_yaffs_access_ELOOP_dir.h"
 
 
-int test_yaffs_access_ELOOP(void)
+int test_yaffs_access_ELOOP_dir(void)
 {
        int output=0;
        int error=0;
 {
        int output=0;
        int error=0;
@@ -21,7 +21,7 @@ int test_yaffs_access_ELOOP(void)
                print_message("failed to setup symlinks\n",2);
                return -1;
        }
                print_message("failed to setup symlinks\n",2);
                return -1;
        }
-       output= yaffs_access(ELOOP_PATH "file",0);
+       output= yaffs_access(ELOOP_PATH "/file",0);
        if (output<0){
                error=yaffs_get_error();
                if ( abs(error)== ELOOP){
        if (output<0){
                error=yaffs_get_error();
                if ( abs(error)== ELOOP){
@@ -37,7 +37,7 @@ int test_yaffs_access_ELOOP(void)
        }
 }
 
        }
 }
 
-int test_yaffs_access_ELOOP_clean(void)
+int test_yaffs_access_ELOOP_dir_clean(void)
 {
        return 1;
 }
 {
        return 1;
 }