projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WIP Changes to tests
[yaffs2.git]
/
direct
/
timothy_tests
/
quick_tests
/
test_yaffs_chmod_EINVAL.c
diff --git
a/direct/timothy_tests/quick_tests/test_yaffs_chmod_EINVAL.c
b/direct/timothy_tests/quick_tests/test_yaffs_chmod_EINVAL.c
index 0596ca92e38d6cb76a9c45a8f6e9d05082a3ec9b..df0205f3676cbc3592d5b983946aca19e562aaed 100644
(file)
--- a/
direct/timothy_tests/quick_tests/test_yaffs_chmod_EINVAL.c
+++ b/
direct/timothy_tests/quick_tests/test_yaffs_chmod_EINVAL.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>
@@
-16,7
+16,9
@@
int test_yaffs_chmod_EINVAL(void)
{
int error=0;
int test_yaffs_chmod_EINVAL(void)
{
int error=0;
- int output=yaffs_chmod("/non_existing_directory/foo",0);
+ int output;
+
+ output = yaffs_chmod("/yaffs2/foo",11111);
if (output<0){
error=yaffs_get_error();
if (output<0){
error=yaffs_get_error();
@@
-35,5
+37,5
@@
int test_yaffs_chmod_EINVAL(void)
int test_yaffs_chmod_EINVAL_clean(void)
{
int test_yaffs_chmod_EINVAL_clean(void)
{
- return
1
;
+ return
test_yaffs_chmod()
;
}
}