From 8211b88420d81fdcc3578c4ad6140647213d3ce9 Mon Sep 17 00:00:00 2001 From: John Hood Date: Thu, 21 Jul 2016 01:19:23 -0400 Subject: [PATCH] Don't use user's .tmux.conf It may contain configuration that breaks our testing. --- src/tests/e2e-test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/e2e-test b/src/tests/e2e-test index 1c73bdf..3a9d8c3 100755 --- a/src/tests/e2e-test +++ b/src/tests/e2e-test @@ -209,7 +209,7 @@ for run in $server_tests; do # XXX tmux 1.8 requires shell command as a single arg; once we move to 2.0, undo these quotes # XXX this ignores $TMPDIR, because it results in an overlong pathname on OS X tmux_socket="/tmp/.tmux-mosh-test-$$" - ${tmux_stdin} tmux -S "${tmux_socket}" -C new-session "${srcdir}/print-exitstatus ${client_wrapper} ${sut} \"${srcdir}/e2e-test-server\" \"${PWD}/${test_dir}/${run}\" \"${PWD}/${test_script} ${testarg}\"" > "${test_dir}/${run}.tmux.log" + ${tmux_stdin} tmux -f /dev/null -S "${tmux_socket}" -C new-session "${srcdir}/print-exitstatus ${client_wrapper} ${sut} \"${srcdir}/e2e-test-server\" \"${PWD}/${test_dir}/${run}\" \"${PWD}/${test_script} ${testarg}\"" > "${test_dir}/${run}.tmux.log" rv=$? rm -f "${tmux_socket}" if [ $rv -ne 0 ]; then