[mapserver-commits] r11524 - trunk/msautotest/pymod

svn at osgeo.org svn at osgeo.org
Mon Apr 11 10:34:39 EDT 2011


Author: tbonfort
Date: 2011-04-11 07:34:38 -0700 (Mon, 11 Apr 2011)
New Revision: 11524

Modified:
   trunk/msautotest/pymod/testlib.py
Log:
fix typo redirecting stderr to file "1" instead of stdout


Modified: trunk/msautotest/pymod/testlib.py
===================================================================
--- trunk/msautotest/pymod/testlib.py	2011-04-11 14:02:49 UTC (rev 11523)
+++ trunk/msautotest/pymod/testlib.py	2011-04-11 14:34:38 UTC (rev 11524)
@@ -149,7 +149,7 @@
             expected_file = tmp_expected_file
 
         try:
-            cmd = 'perceptualdiff %s %s -verbose > pd.out 2>1 ' % (result_file,expected_file)
+            cmd = 'perceptualdiff %s %s -verbose > pd.out 2>&1 ' % (result_file,expected_file)
             os.system( cmd )
             pdout = open('pd.out').read()
             os.remove( 'pd.out' )



More information about the mapserver-commits mailing list