projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs Added more tests to direct/timothy_tests/quick_tests
[yaffs2.git]
/
direct
/
timothy_tests
/
quick_tests
/
lib.c
diff --git
a/direct/timothy_tests/quick_tests/lib.c
b/direct/timothy_tests/quick_tests/lib.c
index 1c3ca689381db7bf0fbb71379b1efb15f293e31d..a9aecf78bcfec571954a46202df59b74cef16454 100644
(file)
--- a/
direct/timothy_tests/quick_tests/lib.c
+++ b/
direct/timothy_tests/quick_tests/lib.c
@@
-33,6
+33,19
@@
int get_exit_on_error(void)
return EXIT_ON_ERROR;
}
return EXIT_ON_ERROR;
}
+
+int set_up_ELOOP(void){
+ int output1=1;
+ int output2=1;
+ if (0!=yaffs_access(ELOOP2)){
+ output1=yaffs_symlink(ELOOP,ELOOP2);
+ }
+ if (0!=yaffs_access(ELOOP)){
+ output2=yaffs_symlink(ELOOP2,ELOOP);
+ }
+ return (output1|output2);
+}
+
void join_paths(char *path1,char *path2,char *new_path )
{
void join_paths(char *path1,char *path2,char *new_path )
{