projects
/
yaffs2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
yaffs update to quick tests.
[yaffs2.git]
/
direct
/
timothy_tests
/
quick_tests
/
test_yaffs_write.c
1
#include "test_yaffs_write.h"
2
3
int test_yaffs_write(void){
4
int handle=test_open_file();
5
if (handle>0){
6
return yaffs_write(handle, FILE_TEXT, FILE_TEXT_NBYTES);
7
}
8
else {
9
printf("error opening file");
10
return -1;
11
}
12
13
}
14
15
int test_yaffs_write_clean(void){
16
return 1;
17
}