Don't use user's .tmux.conf

It may contain configuration that breaks our testing.
This commit is contained in:
John Hood
2016-07-21 01:19:23 -04:00
parent ece4280401
commit 8211b88420
+1 -1
View File
@@ -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 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 # XXX this ignores $TMPDIR, because it results in an overlong pathname on OS X
tmux_socket="/tmp/.tmux-mosh-test-$$" 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=$? rv=$?
rm -f "${tmux_socket}" rm -f "${tmux_socket}"
if [ $rv -ne 0 ]; then if [ $rv -ne 0 ]; then