Update tags when rewriting object header during gc
[yaffs2.git] / direct / dtest.c
index 8b32b7e9dacfbaedc7bc6b02fe200aff3bf0b0ac..cf537f782986dcd8aaa44f3c3a9e60b2453ab1af 100644 (file)
@@ -2258,7 +2258,6 @@ void checkpoint_upgrade_test(const char *mountpt,int nmounts)
        
        printf("Create start condition\n");
        yaffs_StartUp();
-       SetCheckpointReservedBlocks(0);
        yaffs_mount(mountpt);
        yaffs_mkdir(a,0);
        sprintf(b,"%s/zz",a);
@@ -2271,7 +2270,6 @@ void checkpoint_upgrade_test(const char *mountpt,int nmounts)
        printf("Umount/mount attempt full\n");
        yaffs_unmount(mountpt);
        
-       SetCheckpointReservedBlocks(10);
        yaffs_mount(mountpt);
        
        printf("unlink small file\n");
@@ -2482,6 +2480,8 @@ int main(int argc, char *argv[])
        //rename_over_test("//////////////////flash///////////////////yaffs1///////////");
        
        //fill_empty_files_test("/yaffs2/");
+       resize_stress_test("/yaffs2");
+       
        //long_name_test("/yaffs2");
        //link_test0("/yaffs2");
        //link_test1("yaffs2");
@@ -2498,7 +2498,7 @@ int main(int argc, char *argv[])
         // huge_array_test("/flash/flash",10);
 
 
-       handle_test("yaffs2/");
+       // handle_test("yaffs2/");
        
        //long_test_on_path("/ram2k");
        // long_test_on_path("/flash");