File build-term.patch of Package bats
*** bats-0.4.0/libexec/bats-format-tap-stream 2014-08-13 16:59:22.000000000 +0200
--- bats-0.4.0-fixed/libexec/bats-format-tap-stream 2017-02-25 18:46:26.892663697 +0100
***************
*** 21,27 ****
fi
update_screen_width() {
! screen_width="$(tput cols)"
count_column_left=$(( $screen_width - $count_column_width ))
}
--- 21,27 ----
fi
update_screen_width() {
! screen_width="$(tput cols 2>/dev/null || echo 80)"
count_column_left=$(( $screen_width - $count_column_width ))
}