projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs More quick tests added.
[yaffs2.git]
/
direct
/
timothy_tests
/
quick_tests
/
test_yaffs_open_EEXIST.c
diff --git
a/direct/timothy_tests/quick_tests/test_yaffs_open_EEXIST.c
b/direct/timothy_tests/quick_tests/test_yaffs_open_EEXIST.c
index 7ae81a1ac22908ce1e259a757fa1f3e8f2466b3c..90ba455eb9566f0190b3066076ba43cb7f7a5f2c 100644
(file)
--- a/
direct/timothy_tests/quick_tests/test_yaffs_open_EEXIST.c
+++ b/
direct/timothy_tests/quick_tests/test_yaffs_open_EEXIST.c
@@
-21,7
+21,7
@@
int test_yaffs_open_EEXIST(void){
handle=yaffs_open(FILE_PATH, O_CREAT | O_EXCL | O_TRUNC| O_RDWR ,FILE_MODE );
if (handle==-1){
error_code=yaffs_get_error();
handle=yaffs_open(FILE_PATH, O_CREAT | O_EXCL | O_TRUNC| O_RDWR ,FILE_MODE );
if (handle==-1){
error_code=yaffs_get_error();
- printf("EEXIST def %d, Error code %d\n",(- EEXIST),error_code);
+
//
printf("EEXIST def %d, Error code %d\n",(- EEXIST),error_code);
if (abs(error_code)== EEXIST){
return 1;
}
if (abs(error_code)== EEXIST){
return 1;
}