X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_rename_EEXISTS.c;h=d9d1666a844750688327b65e600399ddf14ebcf2;hp=b1df21def1791c84dec8cc617c7ac39930fefde4;hb=f1fdae08ffdfaa5d1a31b9c4303dc317fe95ded4;hpb=10d09f1cb066885e3934db0c2c7c86dd10cbc8bf diff --git a/direct/timothy_tests/quick_tests/test_yaffs_rename_EEXISTS.c b/direct/timothy_tests/quick_tests/test_yaffs_rename_EEXISTS.c index b1df21d..d9d1666 100644 --- a/direct/timothy_tests/quick_tests/test_yaffs_rename_EEXISTS.c +++ b/direct/timothy_tests/quick_tests/test_yaffs_rename_EEXISTS.c @@ -44,7 +44,7 @@ int test_yaffs_rename_EEXISTS(void) output = yaffs_rename(DIR_PATH , RENAME_DIR_PATH); if (output<0){ error_code=yaffs_get_error(); - if (abs(error_code)==EEXIST){ + if (abs(error_code)==ENOTEMPTY){ return 1; } else { print_message("returned error does not match the the expected error\n",2);