Add sleep 1 after shell startup to give macos time to verify the binary

This commit is contained in:
David Dworken 2022-10-23 14:58:47 -07:00
parent 91fa37d157
commit 4c986d8a45

View File

@ -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"
}