Browse Source

Use `watch` to keepalive stdout while installing.

Jordan Harband 9 years ago
parent
commit
32a1b4124c
No known key found for this signature in database
GPG Key ID: 64A196AEE0916D55
  1. 2
      test/common.sh

2
test/common.sh

@ -68,7 +68,7 @@ watch() {
$@ & $@ &
local JOB local JOB
JOB=$! JOB=$!
while true; do sleep 15; echo '* ping *'; done & while true; do sleep 15; >&2 echo '* ping *'; done &
wait $JOB; wait $JOB;
local EXIT_CODE local EXIT_CODE
EXIT_CODE=$? EXIT_CODE=$?

Loading…
Cancel
Save