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_mkdir_EEXIST.c
diff --git
a/direct/timothy_tests/quick_tests/test_yaffs_mkdir_EEXIST.c
b/direct/timothy_tests/quick_tests/test_yaffs_mkdir_EEXIST.c
index 939c2149b4779d7d2df7b4a8423f737359a20109..2d94fa4d60753e8d267495332dc2a070f1c055ea 100644
(file)
--- a/
direct/timothy_tests/quick_tests/test_yaffs_mkdir_EEXIST.c
+++ b/
direct/timothy_tests/quick_tests/test_yaffs_mkdir_EEXIST.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>
@@
-49,10
+49,6
@@
int test_yaffs_mkdir_EEXIST(void)
int test_yaffs_mkdir_EEXIST_clean(void)
{
int test_yaffs_mkdir_EEXIST_clean(void)
{
- if (output >= 0){
- return yaffs_rmdir(DIR_PATH);
- } else {
- return 1;
- }
+ return yaffs_rmdir(DIR_PATH);
}
}