source: MondoRescue/branches/2.2.9/mindi-busybox/shell/ash_test/ash-read/read_t.tests@ 3320

Last change on this file since 3320 was 3320, checked in by Bruno Cornec, 9 years ago
  • Re-add (thanks git BTW) the 2.2.9 branch which had been destroyed in the move to 3.0
  • Property svn:executable set to *
File size: 357 bytes
Line 
1# bash 3.2 outputs:
2
3# ><
4{ echo -n 'te'; sleep 2; echo 'st'; } | (read -t 1 reply; echo ">$reply<")
5# ><
6{ sleep 2; echo 'test'; } | (read -t 1 reply; echo ">$reply<")
7# >test<
8{ echo -n 'te'; sleep 1; echo 'st'; } | (read -t 2 reply; echo ">$reply<")
9# >test<
10{ sleep 1; echo 'test'; } | (read -t 2 reply; echo ">$reply<")
Note: See TracBrowser for help on using the repository browser.