yaffs Some changes to the quick tests README.
authorTimothy Manning <tfhmanning@gmail.com>
Mon, 8 Nov 2010 04:19:57 +0000 (17:19 +1300)
committerTimothy Manning <tfhmanning@gmail.com>
Mon, 8 Nov 2010 04:21:40 +0000 (17:21 +1300)
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
direct/timothy_tests/quick_tests/README.txt
direct/timothy_tests/quick_tests/current_bugs.txt

index 8487ac6ddb8d6ab37b662a62832653e6173ae8ea..0a669e3e5e9327373568a063c78c6e7bf298c8af 100644 (file)
@@ -87,6 +87,7 @@ Tests to add
        test_yaffs_truncate_EACCES
        test_yaffs_truncate_ELOOP
        test_yaffs_truncate_ENAMETOOLONG
+       add a truncate function for truncating a file size to -1.
 
 
        check to see if an error code is generated when there isn't an error.
index d2b4a48c9b20dce7d4d150b27f6194ec75e22b4e..24ed8ca96faa103898bcd8def8aecbe7868e81bd 100644 (file)
@@ -13,9 +13,6 @@ Current BUGS
        The ENODEV is the error which yaffs gives instead of ENOENT.
        BBut the mount function should just return ENAMETOOLONG.
 
-       Bug when mounting a non-existing mount point. The error code returned is 
-       ENODEV.
-
        Bug when trying to use yaffs_access on an existing file with mode 255 
        the error returned is EACCES it should be EINVAL(note there is no quick test file yet).
 
@@ -27,18 +24,17 @@ Current BUGS
 
        Bug truncating a file to a size of -1 does not cause an error. 
 
-       BUG truncating a file to a size greater than the maximum file size should 
-       return the error EFBIG. However EFBIG has not been defined in yaffs and 
-       needs to be added. When a file is truncated to a large size 
-       (size =10000000000000000000000000000000000000000000) the truncate 
-       function works without any errors, which is wrong. 
-
+       
        Bug with opening a file with bad mode. yaffs_open has two modes which 
        are passed into it. if the modes are set to 255 the open function 
        does not report any errors. (Also need to try this with modes set to -1.)  
 
 
 Current WARNINGS
+       
+       WARNING- truncating a file to a size greater than the maximum file size returns
+       EINVAL. In standard linux system the error EFBIG is returned. 
+       
        WARNING- If yaffs is unmounted then most of yaffs' functions return ENODIR. 
        some function return EBADF instead.