yaffs More quick tests added.
[yaffs2.git] / direct / timothy_tests / quick_tests / current_bugs.txt
1
2 Made by Timothy Manning <timothy@yaffs.net> on 08/11/2010
3
4
5 Current BUGS 
6         Bug with opening a file with a name of 1,000,000 char long with no errors.
7
8         Bug with unlinking a file with 1,000,000 get the error ENOENT but should
9         be geting ENAMETOOLONG. 
10
11         Bug with mounting a too long non-existant mount point is returning 
12         ENODEV. there are two errors here, ENOENT and ENAMETOOLONG.
13         The ENODEV is the error which yaffs gives instead of ENOENT.
14         BBut the mount function should just return ENAMETOOLONG.
15
16         Bug when trying to use yaffs_access on an existing file with mode 255 
17         the error returned is EACCES it should be EINVAL(note there is no quick test file yet).
18
19         Bug when trying to access a non-existing directory the error ENOENT is 
20         returned. It should be ENOTDIR.
21
22         Bug when trying to truncate a file in a non-existing directory. The error
23         returned is ENOENT it should be ENOTDIR.
24
25         Bug truncating a file to a size of -1 does not cause an error. 
26
27         
28         Bug with opening a file with bad mode. yaffs_open has two modes which 
29         are passed into it. if the modes are set to 255 the open function 
30         does not report any errors. (Also need to try this with modes set to -1.)  
31
32         Bug with lseeking to a very large size (size =100000000000000000000000000000000000000) without causing an error.
33         Should cause the error EINVAL.
34
35
36 Current WARNINGS
37         
38         WARNING- truncating a file to a size greater than the maximum file size returns
39         EINVAL. In standard linux system the error EFBIG is returned. 
40         
41         WARNING- If yaffs is unmounted then most of yaffs' functions return ENODIR. 
42         some function return EBADF instead.
43
44         WARNING- When mounting a non-existing mount point the error ENODEV is returned.
45         The quick tests have been altered to accommodate this error code.    
46         With standard access function in linux the error returned is ENOENT.