X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_truncate_big_file.c;fp=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_truncate_EFBIG.c;h=270bf49846774d3ca78c0410ad9be70dc659d805;hb=24f00634ca4584100b60d7b68675c1c9c4646ee8;hp=0d698654916f3fe3a1a108379d55e818bf781cbe;hpb=4966064e2d0557eb3132888bf31ed1edac0fef4b;p=yaffs2.git diff --git a/direct/timothy_tests/quick_tests/test_yaffs_truncate_EFBIG.c b/direct/timothy_tests/quick_tests/test_yaffs_truncate_big_file.c similarity index 87% rename from direct/timothy_tests/quick_tests/test_yaffs_truncate_EFBIG.c rename to direct/timothy_tests/quick_tests/test_yaffs_truncate_big_file.c index 0d69865..270bf49 100644 --- a/direct/timothy_tests/quick_tests/test_yaffs_truncate_EFBIG.c +++ b/direct/timothy_tests/quick_tests/test_yaffs_truncate_big_file.c @@ -11,10 +11,10 @@ * published by the Free Software Foundation. */ -#include "test_yaffs_truncate_EFBIG.h" +#include "test_yaffs_truncate_big_file.h" static int handle = -1; -int test_yaffs_truncate_EFBIG(void) +int test_yaffs_truncate_big_file(void) { int error=0; int output=0; @@ -23,7 +23,7 @@ int test_yaffs_truncate_EFBIG(void) output= yaffs_truncate("/yaffs2/foo",10000000000000000000000000000000000000000000 ); if (output<0){ error=yaffs_get_error(); - if (abs(error)==EINVAL){ /*in yaffs EINVAL is used instead of EFBIG */ + if (abs(error)==EINVAL){ /*in yaffs EINVAL is used instead of big_file */ return 1; } else { print_message("received a different error than expected\n",2); @@ -40,7 +40,7 @@ int test_yaffs_truncate_EFBIG(void) } } -int test_yaffs_truncate_EFBIG_clean(void) +int test_yaffs_truncate_big_file_clean(void) { return 1; }