timothy-tests: Change mountpoint names to match test framework
[yaffs2.git] / direct / test-framework / timothy_tests / quick_tests / test_yaffs_rename_dir_ENOENT.c
index f86b705b7d685654f7a57382045eb0fae746a792..8e3b564e97f380e43525ee1f85448271d3e22f66 100644 (file)
@@ -13,7 +13,7 @@
 
 #include "test_yaffs_rename_dir_ENOENT.h"
 
-
+/*tries to rename a nonexisting directory */
 int test_yaffs_rename_dir_ENOENT(void)
 {
        int output=0;
@@ -26,7 +26,7 @@ int test_yaffs_rename_dir_ENOENT(void)
                        return -1;
                }
        }
-       output = yaffs_rename( "/yaffs2/non-existing-dir/" , RENAME_DIR_PATH);
+       output = yaffs_rename( YAFFS_MOUNT_POINT "/non-existing-dir/" , RENAME_DIR_PATH);
        if (output<0){ 
                error_code=yaffs_get_error();
                if (abs(error_code)==ENOENT){