mirror of
https://github.com/ddworken/hishtory.git
synced 2025-01-22 22:28:51 +01:00
Add sleep 1 after shell startup to give macos time to verify the binary
This commit is contained in:
parent
91fa37d157
commit
4c986d8a45
@ -1739,6 +1739,7 @@ func captureTerminalOutputWithShellName(t *testing.T, tester shellTester, overri
|
||||
fullCommand := ""
|
||||
fullCommand += " tmux kill-session -t foo || true\n"
|
||||
fullCommand += " tmux -u new-session -d -x 200 -y 50 -s foo " + overriddenShellName + "\n"
|
||||
fullCommand += " sleep 1\n"
|
||||
if overriddenShellName == "bash" {
|
||||
fullCommand += " tmux send -t foo source SPACE ~/.bashrc ENTER\n"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user