tests/run-tests.py
changeset 1074 6c7d0e38c0c2
parent 1072 bbf056e756cc
child 1084 b668ecd81629
--- a/tests/run-tests.py	Sun Apr 29 16:58:42 2012 +0100
+++ b/tests/run-tests.py	Sun May 13 14:39:47 2012 +0100
@@ -860,7 +860,7 @@
         tf = open(testpath)
         firstline = tf.readline().rstrip()
         tf.close()
-    except:
+    except IOError:
         firstline = ''
     lctest = test.lower()
 
@@ -1187,6 +1187,7 @@
     os.environ['http_proxy'] = ''
     os.environ['no_proxy'] = ''
     os.environ['NO_PROXY'] = ''
+    os.environ['TERM'] = 'xterm'
 
     # unset env related to hooks
     for k in os.environ.keys():