More print-to-pipe error checking in tests.

This commit is contained in:
John Hood
2016-11-29 22:31:33 -05:00
parent 60c5b022f8
commit 278fd12ec1
4 changed files with 9 additions and 11 deletions
+2 -2
View File
@@ -52,8 +52,8 @@ tmux_commands()
sleep 1
printf "send-keys 0x04\n"
# This will get killed by SIGPIPE.
while printf "show-options\n"; do
sleep 1
while printf "show-options\n" && sleep 1; do
:
done
}