Add more tracing to tests
authorcharles <charles>
Tue, 3 Nov 2009 01:30:12 +0000 (01:30 +0000)
committercharles <charles>
Tue, 3 Nov 2009 01:30:12 +0000 (01:30 +0000)
direct/tests/yaffs_fsx.c
direct/tests/yaffs_test.c

index 54f5360..aa234cd 100644 (file)
@@ -885,6 +885,8 @@ yaffs_fsx_init(const char *mount_pt)
        } else 
                check_trunc_hack();
                
+       printf("yaffs_fsx_init done\n");
+               
        return 0;
 }
 
index a0f9bdb..3b0e62a 100644 (file)
@@ -51,7 +51,7 @@ void BadUsage(void)
        printf(" n nnn: number of cycles\n");
        printf(" p: simulate power fail testing\n");
        printf(" s sss: set seed\n");
-       printf(" u: do upgrade test\n);
+       printf(" u: do upgrade test\n");
        exit(2);
 }
 
@@ -105,6 +105,7 @@ int main(int argc, char **argv)
 
                yaffs_StartUp();
                yaffs_mount(mount_point);
+               printf("Mount complete\n");
                        
                if(do_upgrade && init_test){
                        simulate_power_failure = 0;