Browse Source

* fix for wrong nested comments resulting in wrong results under *nix, etc., with redirected output

git-svn-id: trunk@49334 -
Tomas Hajny 4 years ago
parent
commit
cb2c0ae594
1 changed files with 5 additions and 5 deletions
  1. 5 5
      tests/test/units/system/ttxtflsh.pp

+ 5 - 5
tests/test/units/system/ttxtflsh.pp

@@ -1,5 +1,5 @@
-{$DEFINE VERBOSE}
-{$DEFINE DEBUG}
+{ $DEFINE VERBOSE}
+{ $DEFINE DEBUG}
 (* Define the following if the test will be run manually in a console       *)
 (* Define the following if the test will be run manually in a console       *)
 (* (no output redirection) - otherwise the test will fail for some targets. *)
 (* (no output redirection) - otherwise the test will fail for some targets. *)
 { $DEFINE CONSOLE}
 { $DEFINE CONSOLE}
@@ -18,12 +18,12 @@ const
  ConsoleDeviceName = 'CON';
  ConsoleDeviceName = 'CON';
  {$DEFINE TESTCONSOLEOK}
  {$DEFINE TESTCONSOLEOK}
 {$ELSE}
 {$ELSE}
-{ {$IF DEFINED(UNIX)}
-(* I don't know whether there's a device on Unix allowing to enforce output to console even if standard output is redirected for the given process... *)
+(* {$IF DEFINED(UNIX)}
+{ I don't know whether there's a device on Unix allowing to enforce output to console even if standard output is redirected for the given process... }
  ConsoleDeviceName = '/dev/tty';
  ConsoleDeviceName = '/dev/tty';
   {$DEFINE TESTCONSOLEOK}
   {$DEFINE TESTCONSOLEOK}
  {$ELSE}
  {$ELSE}
-}
+*)
   {$IFDEF CONSOLE}
   {$IFDEF CONSOLE}
  ConsoleDeviceName = '';
  ConsoleDeviceName = '';
    {$DEFINE TESTCONSOLEOK}
    {$DEFINE TESTCONSOLEOK}