projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs working on the timothy_tests. just need to save the current state of the program.
[yaffs2.git]
/
direct
/
tests
/
yaffs_test.c
diff --git
a/direct/tests/yaffs_test.c
b/direct/tests/yaffs_test.c
index 825cf187d3ab7a0ae58a454e27ab8b2a7bee184b..b35c75025a821a99191b6593abc42553a4a9d770 100644
(file)
--- a/
direct/tests/yaffs_test.c
+++ b/
direct/tests/yaffs_test.c
@@
-45,7
+45,7
@@
int n_cycles = -1;
int fuzz_test=0;
int fuzz_test=0;
-int yaffs_test_max
M
allocs;
+int yaffs_test_max
_m
allocs;
extern int ops_multiplier;
extern int ops_multiplier;
@@
-227,7
+227,7
@@
int main(int argc, char **argv)
n_cycles = atoi(optarg);
break;
case 't':
n_cycles = atoi(optarg);
break;
case 't':
- yaffs_trace
M
ask = strtol(optarg,NULL,0);
+ yaffs_trace
_m
ask = strtol(optarg,NULL,0);
break;
case 'z':fuzz_test=1;
break;
break;
case 'z':fuzz_test=1;
break;
@@
-239,7
+239,7
@@
int main(int argc, char **argv)
argv += optind;
if(random_mallocs){
argv += optind;
if(random_mallocs){
- yaffs_test_max
M
allocs = 0xFFF & random_seed;
+ yaffs_test_max
_m
allocs = 0xFFF & random_seed;
}
if(argc == 1) {
}
if(argc == 1) {
@@
-257,7
+257,7
@@
int main(int argc, char **argv)
simulate_power_failure ? "power_fail" : "",
random_seed, n_cycles);
simulate_power_failure ? "power_fail" : "",
random_seed, n_cycles);
- yaffs_
StartU
p();
+ yaffs_
start_u
p();
result = yaffs_mount(mount_point);
if(result < 0){
printf("Mount of %s failed\n",mount_point);
result = yaffs_mount(mount_point);
if(result < 0){
printf("Mount of %s failed\n",mount_point);