yaffs More tests added to quick tests.
[yaffs2.git] / direct / timothy_tests / quick_tests / test_yaffs_truncate_EFBIG.c
index dd7cc86b61bf6854078ab68a35210fe2c5ff9c9d..7ea85da00f06f532eec93151a8cb21b868d6379b 100644 (file)
@@ -22,7 +22,7 @@ int test_yaffs_truncate_EFBIG(void){
                output= yaffs_truncate("/yaffs2/foo",10000000000000000000000000000000000000000000 );
                if (output<0){
                        error=yaffs_get_error();
-                       if (abs(error)==EINVAL){
+                       if (abs(error)==EINVAL){        /*in yaffs EINVAL is used instead of EFBIG */
                                return 1;
                        }
                        else {