Clean up yaffs_FindNiceObject to be thread safe and simpler. Fix code that does a...
[yaffs2.git] / direct / dtest.c
index 8b32b7e9dacfbaedc7bc6b02fe200aff3bf0b0ac..24f5ad28a2b5001162a480df1afafd7c5b148f69 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");
@@ -2481,7 +2479,7 @@ int main(int argc, char *argv[])
 
        //rename_over_test("//////////////////flash///////////////////yaffs1///////////");
        
-       //fill_empty_files_test("/yaffs2/");
+       fill_empty_files_test("/yaffs2/");
        //long_name_test("/yaffs2");
        //link_test0("/yaffs2");
        //link_test1("yaffs2");