[tests] Set permissions on tmux socket after creation

This commit is contained in:
Mahmoud Al-Qudsi
2021-08-10 21:28:01 -05:00
committed by Johannes Altmanninger
parent 878bfa94cb
commit 498e5fa9b0
3 changed files with 9 additions and 1 deletions

View File

@@ -23,6 +23,9 @@ $tmux new-session -x 80 -y 10 -d $fish -C '
# No autosuggestion from older history.
set fish_history ""
'
# Set the correct permissions for the newly created socket to allow future connections.
# This is required at least under WSL or else each invocation will return a permissions error.
chmod 777 .tmux-socket
$sleep # Let fish draw a prompt.
# Test moving around with up-or-search on a multi-line commandline.