4 { echo -n 'te'; sleep 2; echo 'st'; } | (read -t 1 reply; echo ">$reply<")
6 { sleep 2; echo 'test'; } | (read -t 1 reply; echo ">$reply<")
8 { echo -n 'te'; sleep 1; echo 'st'; } | (read -t 2 reply; echo ">$reply<")
10 { sleep 1; echo 'test'; } | (read -t 2 reply; echo ">$reply<")