diff --git a/tests/test/tstring10.pp b/tests/test/tstring10.pp index 905a7dda53..81c99d9558 100644 --- a/tests/test/tstring10.pp +++ b/tests/test/tstring10.pp @@ -2,7 +2,7 @@ program punicodechartest; {$ifdef FPC}{$mode objfpc}{$h+}{$endif} {$ifdef mswindows}{$apptype console}{$endif} uses - {$ifdef FPC}{$ifdef linux}cthreads,{$endif}{$endif} + {$ifdef FPC}{$ifdef unix}cthreads,{$endif}{$endif} sysutils; var astr: ansistring; diff --git a/tests/test/units/classes/tsetstream.pp b/tests/test/units/classes/tsetstream.pp index 82536662f7..e2f6023dfe 100644 --- a/tests/test/units/classes/tsetstream.pp +++ b/tests/test/units/classes/tsetstream.pp @@ -2,7 +2,7 @@ program storedfalse; {$ifdef FPC}{$mode objfpc}{$h+}{$INTERFACES CORBA}{$endif} {$ifdef mswindows}{$apptype console}{$endif} uses - {$ifdef FPC}{$ifdef linux}cthreads,{$endif}{$endif} + {$ifdef FPC}{$ifdef unix}cthreads,{$endif}{$endif} sysutils,classes; type diff --git a/tests/test/units/dos/tdos.pp b/tests/test/units/dos/tdos.pp index f148de737a..27edb70b75 100644 --- a/tests/test/units/dos/tdos.pp +++ b/tests/test/units/dos/tdos.pp @@ -145,7 +145,7 @@ begin Writeln('Expanded ../dos/./../././dos.pp : ',FExpand('../dos/./../././dos.pp')); test:='../;/usr/;/usr/bin/;/usr/bin;/bin/;'; -{$else not linux } +{$else not unix } test:='\usr\local\bin\ppc.so'; writeln('FSplit(',test,')'); FSplit(test,dir,name,ext); @@ -165,7 +165,7 @@ begin Writeln('Expanded ..\dos\.\..\.\.\dos.pp : ',FExpand('..\dos\.\..\.\.\dos.pp')); test:='..\;\usr\;\usr\bin\;\usr\bin;\bin\;'; -{$endif not linux} +{$endif not unix} test:=test+getenv('PATH'); {$ifdef NOEXESUFFIX} Writeln('FSearch ls: ',FSearch('ls',test)); diff --git a/tests/test/units/dos/tidos.pp b/tests/test/units/dos/tidos.pp index bdc48b5c20..4d1953ce92 100644 --- a/tests/test/units/dos/tidos.pp +++ b/tests/test/units/dos/tidos.pp @@ -154,7 +154,7 @@ begin Writeln('Expanded ../dos/./../././dos.pp : ',FExpand('../dos/./../././dos.pp')); test:='../;/usr/;/usr/bin/;/usr/bin;/bin/;'; -{$else not linux } +{$else not unix } test:='\usr\local\bin\ppc.so'; writeln('FSplit(',test,')'); FSplit(test,dir,name,ext); @@ -174,7 +174,7 @@ begin Writeln('Expanded ..\dos\.\..\.\.\dos.pp : ',FExpand('..\dos\.\..\.\.\dos.pp')); test:='..\;\usr\;\usr\bin\;\usr\bin;\bin\;'; -{$endif not linux} +{$endif not unix} test:=test+getenv('PATH'); {$ifdef NOEXESUFFIX} Writeln('FSearch ls: ',FSearch('ls',test));