kerneltest/f32test/server/t_sysbin.cpp
branchRCL_3
changeset 42 a179b74831c9
parent 6 0173bcd7697c
equal deleted inserted replaced
41:0ffb4e86fcc9 42:a179b74831c9
   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 
   347 	_LIT(KCTestPath,"c:\\sysbin_test\\");
   355 	_LIT(KCTestPath,"c:\\sysbin_test\\");
   348 	r = TheFileMan->RmDir(KCTestPath);
   356 	r = TheFileMan->RmDir(KCTestPath);
   349 	test_KErrNone(r);
   357 	test_KErrNone(r);
   350 
   358 
   351 	test.Next(_L("Check loading an DLL which lives in \\SYS\\BIN\\TEST"));
   359 	test.Next(_L("Check loading an DLL which lives in \\SYS\\BIN\\TEST"));
   379 		TestDllD(KDllD,_L("c:\\sys\\bin\\test\\;c:\\dummy2"));
   387 		TestDllD(KDllD,_L("c:\\sys\\bin\\test\\;c:\\dummy2"));
   380 		TestDllD(KDllD,_L("c:\\dummy1;c:\\sys\\bin\\test2;c:\\sys\\bin\\test\\"));
   388 		TestDllD(KDllD,_L("c:\\dummy1;c:\\sys\\bin\\test2;c:\\sys\\bin\\test\\"));
   381 
   389 
   382 		test.End();
   390 		test.End();
   383 
   391 
       
   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 
   384 	_LIT(KCTestPath2,"c:\\sys\\bin\\test\\");
   400 	_LIT(KCTestPath2,"c:\\sys\\bin\\test\\");
   385 	r = TheFileMan->RmDir(KCTestPath2);
   401 	r = TheFileMan->RmDir(KCTestPath2);
   386 	test_KErrNone(r);
   402 	test_KErrNone(r);
   387 
   403 
   388 	test.End();
   404 	test.End();