comparison packages/fs/yaffs/current/tests/yaffs6.c @ 337:b254764fbeac

Patch tests to work on this codebase
author Ross Younger <wry@ecoscentric.com>
date Tue, 03 Nov 2009 18:01:23 +0000
parents 38a956139d12
children 73b6efce8c58
comparison
equal deleted inserted replaced
336:38a956139d12 337:b254764fbeac
932 err = umount( TEST_MOUNTPOINT ); 932 err = umount( TEST_MOUNTPOINT );
933 if( err < 0 ) SHOW_RESULT( umount, err ); 933 if( err < 0 ) SHOW_RESULT( umount, err );
934 } 934 }
935 935
936 diag_printf("<INFO>: syncing\n"); 936 diag_printf("<INFO>: syncing\n");
937 sync(); 937 err = cyg_fs_setinfo(TEST_MOUNTPOINT, FS_INFO_SYNC, 0, 0);
938 if (err != 0) SHOW_RESULT(sync, err);
938 939
939 CYG_TEST_PASS_FINISH("yaffs6"); 940 CYG_TEST_PASS_FINISH("yaffs6");
940 } 941 }
941 942
942 // ------------------------------------------------------------------------- 943 // -------------------------------------------------------------------------