mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 03:51:14 -03:00
[tests] Set permissions on tmux socket after creation
This commit is contained in:
committed by
Johannes Altmanninger
parent
878bfa94cb
commit
498e5fa9b0
@@ -23,6 +23,9 @@ $tmux new-session -x 80 -y 10 -d $fish -C '
|
|||||||
# No autosuggestion from older history.
|
# No autosuggestion from older history.
|
||||||
set fish_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.
|
$sleep # Let fish draw a prompt.
|
||||||
|
|
||||||
# Test moving around with up-or-search on a multi-line commandline.
|
# Test moving around with up-or-search on a multi-line commandline.
|
||||||
|
|||||||
@@ -23,6 +23,9 @@ $tmux new-session -x 80 -y 10 -d $fish -C '
|
|||||||
# No autosuggestion from older history.
|
# No autosuggestion from older history.
|
||||||
set fish_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.
|
$sleep # Let fish draw a prompt.
|
||||||
|
|
||||||
# Don't escape existing token (#7526).
|
# Don't escape existing token (#7526).
|
||||||
|
|||||||
@@ -32,7 +32,9 @@ $tmux new-session -x 80 -y 10 -d $fish -C '
|
|||||||
commandline -f repaint
|
commandline -f repaint
|
||||||
end
|
end
|
||||||
'
|
'
|
||||||
|
# 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.
|
$sleep # Let fish draw a prompt.
|
||||||
|
|
||||||
$tmux capture-pane -p
|
$tmux capture-pane -p
|
||||||
|
|||||||
Reference in New Issue
Block a user