--- a/kerneltest/f32test/server/t_main.cpp Fri Jun 11 15:02:23 2010 +0300
+++ b/kerneltest/f32test/server/t_main.cpp Wed Jun 23 19:44:53 2010 +0300
@@ -24,6 +24,7 @@
#include <f32dbg.h>
#include "t_server.h"
#include "t_chlffs.h"
+#include "f32_test_utils.h"
GLDEF_D RFs TheFs;
GLDEF_D TFileName gSessionPath;
@@ -157,14 +158,11 @@
while(illegalChar)
{
-#if defined(__WINS__)
- if (gSessionPath[0]=='C')
+ if (F32_Test_Utils::Is_SimulatedSystemDrive(TheFs, CurrentDrive()))
letter=(TChar)('A'+Math::Rand(aSeed)%26);
else
letter=(TChar)Math::Rand(aSeed)%256;
-#else
- letter=(TChar)Math::Rand(aSeed)%256;
-#endif
+
TBool space=letter.IsSpace();
if (space && spaceChar==-1)
spaceChar=i;