projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add case insensitive features for yaffs direct.
[yaffs2.git]
/
direct
/
timothy_tests
/
quick_tests
/
test_yaffs_rename.c
diff --git
a/direct/timothy_tests/quick_tests/test_yaffs_rename.c
b/direct/timothy_tests/quick_tests/test_yaffs_rename.c
index 509bb9a83b44ba90ed47537bf9924bf48346aed2..170081e70c6d46ed9f417d6c7e6fe1e7f75a83c4 100644
(file)
--- a/
direct/timothy_tests/quick_tests/test_yaffs_rename.c
+++ b/
direct/timothy_tests/quick_tests/test_yaffs_rename.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>
@@
-34,10
+34,10
@@
int test_yaffs_rename(void)
int test_yaffs_rename_clean(void)
{
int output = 0;
int test_yaffs_rename_clean(void)
{
int output = 0;
- if (0 == yaffs_access(
RENAM
E_PATH,0)) {
- output =
yaffs_rename(RENAME_PATH,FILE_PATH
);
+ if (0 == yaffs_access(
FIL
E_PATH,0)) {
+ output =
test_yaffs_open(
);
if (output < 0) {
if (output < 0) {
- print_message("failed to
rename the
file\n",2);
+ print_message("failed to
open a new
file\n",2);
return -1;
}
}
return -1;
}
}