yaffs Added more tests to direct/timothy_tests/quick_tests
[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 test_yaffs_rename_dir it does not return an error code.
7         
8         Bug with test_yaffs_rename_EEXIST should be giving the bug EEXIST but instead gives ENOENT. 
9
10 Current WARNINGS
11         
12         WARNING- If yaffs is unmounted then most of yaffs' functions return ENODIR. 
13         But some function return EBADF instead.
14         Functions which return ENOTDIR: open, close, access, unlink, lseek, write, read
15
16         Functions which return ENOENT: access, stat
17         
18
19
20         WARNING-the function yaffs_open does not check the mode passed to it. 
21         This means that yaffs open does not return EINVAL if a bad mode is passed to it.
22         However this causes the error EEXIST to happen instead, because both O_CREAT and O_EXCL  flags are set.
23
24         WARNING- yaffs_open will work with either of the two mode set to 255.
25         However there are only 4 or 5 flags that can be set for each of the modes.
26         This means that the programmer may not be setting the flags properly.  
27
28         WARNING- When mounting a non-existing mount point the error ENODEV is returned.
29         The quick tests have been altered to accommodate this error code.    
30         With standard access function in linux the error returned is ENOENT.