kerneltest/f32test/server/t_ext1.cpp
changeset 102 ef2a444a7410
parent 0 a41df078684a
child 109 b3a1d9898418
equal deleted inserted replaced
90:947f0dc9f7a8 102:ef2a444a7410
   446     TInt drive;
   446     TInt drive;
   447 	TInt err=RFs::CharToDrive(gDriveToTest,drive);
   447 	TInt err=RFs::CharToDrive(gDriveToTest,drive);
   448 	test.Start(_L("Starting Test - T_EXT1"));
   448 	test.Start(_L("Starting Test - T_EXT1"));
   449 	test(err==KErrNone);
   449 	test(err==KErrNone);
   450 
   450 
       
   451 	// Check that the drive supports extensions.
       
   452 	TBool extensionsSupported = EFalse;
       
   453 	TPckg<TBool> dataBuf(extensionsSupported);
       
   454 	err = TheFs.QueryVolumeInfoExt(drive,EFSysExtensionsSupported,dataBuf);
       
   455 	test(err==KErrNone);
       
   456 	if(!extensionsSupported)
       
   457 	    {
       
   458         test.Printf(_L("Drive %d does not support file sys extensions. Skipping test."), drive);
       
   459         test.End();
       
   460         test.Close();
       
   461         return;
       
   462 	    }
       
   463 	
   451     PrintDrvInfo(TheFs, drive);
   464     PrintDrvInfo(TheFs, drive);
   452 
   465 
   453 //Do not run this test on the NAND drive, as
   466 //Do not run this test on the NAND drive, as
   454 //this has the FTL mounted as a primary extension
   467 //this has the FTL mounted as a primary extension
   455 //which causes the test to fail
   468 //which causes the test to fail