projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set up a test framework.
[yaffs2.git]
/
direct
/
timothy_tests
/
quick_tests
/
test_yaffs_fchmod.c
diff --git
a/direct/timothy_tests/quick_tests/test_yaffs_fchmod.c
b/direct/timothy_tests/quick_tests/test_yaffs_fchmod.c
index 35602356c80483acfca7a4623e5288be7b186c29..e1a035688f870686e7d615e3a71ef4a28d91f168 100644
(file)
--- a/
direct/timothy_tests/quick_tests/test_yaffs_fchmod.c
+++ b/
direct/timothy_tests/quick_tests/test_yaffs_fchmod.c
@@
-1,7
+1,7
@@
/*
* YAFFS: Yet another FFS. A NAND-flash specific file system.
*
/*
* YAFFS: Yet another FFS. A NAND-flash specific file system.
*
- * Copyright (C) 2002-201
0
Aleph One Ltd.
+ * Copyright (C) 2002-201
1
Aleph One Ltd.
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Timothy Manning <timothy@yaffs.net>
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Timothy Manning <timothy@yaffs.net>
@@
-26,7
+26,7
@@
int test_yaffs_fchmod(void)
return -1;
}
return -1;
}
- output = yaffs_fchmod(handle,S_IREAD|
|
S_IWRITE);
+ output = yaffs_fchmod(handle,S_IREAD|S_IWRITE);
if (output>=0){
/* there were no errors */
if (output>=0){
/* there were no errors */
@@
-41,7
+41,6
@@
int test_yaffs_fchmod(void)
int test_yaffs_fchmod_clean(void)
{
if (handle >= 0) {
int test_yaffs_fchmod_clean(void)
{
if (handle >= 0) {
- printf("handle %d\n",handle);
return yaffs_close(handle);
}
return 1;
return yaffs_close(handle);
}
return 1;