projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'origin/64_and_32_bit_time_tests'
[yaffs2.git]
/
direct
/
test-framework
/
stress_tests
/
handle_tests
/
handle_test.c
diff --git
a/direct/test-framework/timothy_tests/handle_tests/handle_test.c
b/direct/test-framework/stress_tests/handle_tests/handle_test.c
similarity index 97%
rename from
direct/test-framework/timothy_tests/handle_tests/handle_test.c
rename to
direct/test-framework/stress_tests/handle_tests/handle_test.c
index b27f2af742798863a7b27177b3ec92eecf17734c..ed721fbfab628e402fbb37f1755206d0bd9c1007 100644
(file)
--- a/
direct/test-framework/timothy_tests/handle_tests/handle_test.c
+++ b/
direct/test-framework/stress_tests/handle_tests/handle_test.c
@@
-22,7
+22,7
@@
int main()
int output =0;
unsigned int total_number_of_tests_run=0;
yaffs_start_up();
int output =0;
unsigned int total_number_of_tests_run=0;
yaffs_start_up();
- yaffs_mount(
"yaffs2"
);
+ yaffs_mount(
YAFFS_MOUNT_POINT
);
printf("running tests\n");
printf("running tests\n");
@@
-62,7
+62,7
@@
int dup_test(void){
output=yaffs_lseek(handle,20,SEEK_SET);
if (output >= 0) {
output = yaffs_lseek(handle,0,SEEK_CUR);
output=yaffs_lseek(handle,20,SEEK_SET);
if (output >= 0) {
output = yaffs_lseek(handle,0,SEEK_CUR);
- if (output = 20){
+ if (output =
=
20){
printf("dup is working\n");
return 1;
} else if (output <0){
printf("dup is working\n");
return 1;
} else if (output <0){