test: avoid using screen(1) configuration files
authorDmitry Kurochkin <dmitry.kurochkin@gmail.com>
Fri, 1 Jul 2011 04:55:17 +0000 (08:55 +0400)
committerDavid Bremner <bremner@debian.org>
Sun, 6 Nov 2011 00:54:40 +0000 (21:54 -0300)
Set SCREENRC and SYSSCREENRC environment variables to "/dev/null"
as suggested by Jim Paris to avoid potential problems with
screen(1) configuration files.

test/test-lib.sh

index ff5183fff662afbc3cffab68ac7ffeef06d66a53..c81c709b511ffbbbee1205379a4dd6ce8ee67e2a 100755 (executable)
@@ -50,6 +50,8 @@ TZ=UTC
 TERM=dumb
 export LANG LC_ALL PAGER TERM TZ
 GIT_TEST_CMP=${GIT_TEST_CMP:-diff -u}
+export SCREENRC=/dev/null
+export SYSSCREENRC=/dev/null
 
 # Protect ourselves from common misconfiguration to export
 # CDPATH into the environment