diff --git a/src/tests/prediction-unicode.test b/src/tests/prediction-unicode.test index 90d382c..839d609 100755 --- a/src/tests/prediction-unicode.test +++ b/src/tests/prediction-unicode.test @@ -52,8 +52,8 @@ tmux_commands() sleep 1 printf "send-keys 0x04\n" # This will get killed by SIGPIPE. - while sleep 1; do - printf "show-options\n" + while printf "show-options\n"; do + sleep 1 done } diff --git a/src/tests/pty-deadlock.test b/src/tests/pty-deadlock.test index 8b014c0..a28216e 100755 --- a/src/tests/pty-deadlock.test +++ b/src/tests/pty-deadlock.test @@ -36,8 +36,8 @@ tmux_commands() # And stop the test script, so it produces its exit messge. printf "send-keys 0x0d\n" # This will get killed by SIGPIPE. - while sleep 1; do - printf "show-options\n" + while printf "show-options\n"; do + sleep 1 done }