diff --git a/tren.py b/tren.py
index 3495816..5d88d2a 100755
--- a/tren.py
+++ b/tren.py
@@ -8,7 +8,7 @@
 PROGNAME = "tren.py"
 BASENAME = PROGNAME.split(".py")[0]
 PROGENV  = BASENAME.upper()
-RCSID = "$Id: tren.py,v 1.186 2010/03/11 02:49:28 tundra Exp $"
+RCSID = "$Id: tren.py,v 1.187 2010/03/11 03:22:09 tundra Exp $"
 VERSION = RCSID.split()[2]
 
 # Copyright Information
@@ -819,7 +819,11 @@
 
             if doit:
                 
-                self.NewNames.append(fullnew)
+                # In test mode, track file names that would be produced.
+                
+                if ProgramOptions[TESTMODE]:
+                    self.NewNames.append(fullnew)
+                    
                 InfoMsg(indent + iRENAMING % (fullold, fullnew))
 
                 if not ProgramOptions[TESTMODE]: