projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs Found the bug.
[yaffs2.git]
/
direct
/
timothy_tests
/
quick_tests
/
test_yaffs_read_EINVAL.c
diff --git
a/direct/timothy_tests/quick_tests/test_yaffs_read_EINVAL.c
b/direct/timothy_tests/quick_tests/test_yaffs_read_EINVAL.c
index 27120b21c313a8074ea5a7e594522c7819558887..57f47fb8db34f42aadb3cdb6084c68f1c177e86e 100644
(file)
--- a/
direct/timothy_tests/quick_tests/test_yaffs_read_EINVAL.c
+++ b/
direct/timothy_tests/quick_tests/test_yaffs_read_EINVAL.c
@@
-20,7
+20,6
@@
int test_yaffs_read_EINVAL(void)
{
int error_code = 0;
handle=yaffs_open(FILE_PATH,O_CREAT | O_RDWR, FILE_MODE);
{
int error_code = 0;
handle=yaffs_open(FILE_PATH,O_CREAT | O_RDWR, FILE_MODE);
- printf("newly opend handle = %d handle\n",handle);
char text[2000000]="\0";
int output=0;
char text[2000000]="\0";
int output=0;
@@
-86,7
+85,6
@@
int test_yaffs_read_EINVAL_clean(void)
if(output>=0){
output=yaffs_close(handle);
if (output>=0){
if(output>=0){
output=yaffs_close(handle);
if (output>=0){
- printf("closed the file, handle %d\n",handle);
return 1;
} else {
print_message("could not close the handle\n",2);
return 1;
} else {
print_message("could not close the handle\n",2);