fix for #246

ftests.sh problems with /dev/tty in Jenkins