kerneltest/f32test/server/t_sysbin.cpp
branchRCL_3
changeset 294 039a3e647356
parent 249 a179b74831c9
equal deleted inserted replaced
268:345b1ca54e88 294:039a3e647356
   342 		TestDllC(KDllC,_L("c:sysbin_test"));
   342 		TestDllC(KDllC,_L("c:sysbin_test"));
   343 #endif
   343 #endif
   344 
   344 
   345 		test.End();
   345 		test.End();
   346 
   346 
   347 	// All files on the emulator's Z: drive have the KEntryAttReadOnly flag set
       
   348 	// This flag will have been copied to the C: drive, so we need to remove this before calling CFileMan::RmDir()
       
   349 #ifdef __WINS__
       
   350 	r = TheFs.SetAtt(KDllCInCTest, 0, KEntryAttReadOnly);
       
   351 	test_KErrNone(r);
       
   352 #endif
       
   353 
       
   354 
       
   355 	_LIT(KCTestPath,"c:\\sysbin_test\\");
   347 	_LIT(KCTestPath,"c:\\sysbin_test\\");
   356 	r = TheFileMan->RmDir(KCTestPath);
   348 	r = TheFileMan->RmDir(KCTestPath);
   357 	test_KErrNone(r);
   349 	test_KErrNone(r);
   358 
   350 
   359 	test.Next(_L("Check loading an DLL which lives in \\SYS\\BIN\\TEST"));
   351 	test.Next(_L("Check loading an DLL which lives in \\SYS\\BIN\\TEST"));
   387 		TestDllD(KDllD,_L("c:\\sys\\bin\\test\\;c:\\dummy2"));
   379 		TestDllD(KDllD,_L("c:\\sys\\bin\\test\\;c:\\dummy2"));
   388 		TestDllD(KDllD,_L("c:\\dummy1;c:\\sys\\bin\\test2;c:\\sys\\bin\\test\\"));
   380 		TestDllD(KDllD,_L("c:\\dummy1;c:\\sys\\bin\\test2;c:\\sys\\bin\\test\\"));
   389 
   381 
   390 		test.End();
   382 		test.End();
   391 
   383 
   392 	// All files on the emulator's Z: drive have the KEntryAttReadOnly flag set
       
   393 	// This flag will have been copied to the C: drive, so we need to remove this before calling CFileMan::RmDir()
       
   394 #ifdef __WINS__
       
   395 	r = TheFs.SetAtt(KDllDInCSysBinTest, 0, KEntryAttReadOnly);
       
   396 	test_KErrNone(r);
       
   397 #endif
       
   398 
       
   399 
       
   400 	_LIT(KCTestPath2,"c:\\sys\\bin\\test\\");
   384 	_LIT(KCTestPath2,"c:\\sys\\bin\\test\\");
   401 	r = TheFileMan->RmDir(KCTestPath2);
   385 	r = TheFileMan->RmDir(KCTestPath2);
   402 	test_KErrNone(r);
   386 	test_KErrNone(r);
   403 
   387 
   404 	test.End();
   388 	test.End();