yaffs Added more tests to direct/timothy_tests/quick_tests
[yaffs2.git] / direct / timothy_tests / quick_tests / test_yaffs_chmod_ELOOP_dir.c
similarity index 82%
rename from direct/timothy_tests/quick_tests/test_yaffs_chmod_ELOOP.c
rename to direct/timothy_tests/quick_tests/test_yaffs_chmod_ELOOP_dir.c
index d5733371610eaa1c6fd6646a9a7c1bdc4d70a8cb..1df90c57c31ff7ac0b940a30ede4a73d018e65ec 100644 (file)
@@ -11,9 +11,9 @@
  * published by the Free Software Foundation.
  */
 
  * published by the Free Software Foundation.
  */
 
-#include "test_yaffs_chmod_ELOOP.h"
+#include "test_yaffs_chmod_ELOOP_dir.h"
 
 
-int test_yaffs_chmod_ELOOP(void)
+int test_yaffs_chmod_ELOOP_dir(void)
 {
        int error=0;
        int output;
 {
        int error=0;
        int output;
@@ -23,7 +23,7 @@ int test_yaffs_chmod_ELOOP(void)
                return -1;
        }
 
                return -1;
        }
 
-       output = yaffs_chmod(ELOOP_PATH "file",S_IREAD|S_IWRITE);
+       output = yaffs_chmod(ELOOP_PATH "/file",S_IREAD|S_IWRITE);
 
        if (output<0){
                error=yaffs_get_error();
 
        if (output<0){
                error=yaffs_get_error();
@@ -40,7 +40,7 @@ int test_yaffs_chmod_ELOOP(void)
 
 }
 
 
 }
 
-int test_yaffs_chmod_ELOOP_clean(void)
+int test_yaffs_chmod_ELOOP_dir_clean(void)
 {
        return test_yaffs_chmod();
 }
 {
        return test_yaffs_chmod();
 }