X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftest-framework%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_rename_EROFS.c;h=2a5765f12bcab556c65d9830bd64e2f000a82e52;hp=7c8aa76a50b2a22f27364b3689c8308976f7e265;hb=a717f825f1de8707f602aaba9c541e62a1fc1de8;hpb=4ae1d4603da3b68c82e8563191743000fa91d403 diff --git a/direct/test-framework/timothy_tests/quick_tests/test_yaffs_rename_EROFS.c b/direct/test-framework/timothy_tests/quick_tests/test_yaffs_rename_EROFS.c index 7c8aa76..2a5765f 100644 --- a/direct/test-framework/timothy_tests/quick_tests/test_yaffs_rename_EROFS.c +++ b/direct/test-framework/timothy_tests/quick_tests/test_yaffs_rename_EROFS.c @@ -42,8 +42,8 @@ int test_yaffs_rename_EROFS(void) int test_yaffs_rename_EROFS_clean(void) { int output = 0; - if (0 == yaffs_access("/yaffs2/dir2/file",0) ) { - output = yaffs_unlink("/yaffs2/dir2/file"); + if (0 == yaffs_access(YAFFS_MOUNT_POINT "/dir2/file",0) ) { + output = yaffs_unlink(YAFFS_MOUNT_POINT "/dir2/file"); if (output < 0) { print_message("failed to remove the file\n",2); return -1;